recover
DDataParser.recover(inner, fallback) wraps a parser and returns its output when it succeeds or a fallback value when it fails. Handy to ensure a safe value while still collecting errors (useful for partial DTOs, logs, migrations, etc.).
Interactive example
Parameters
inner: parser to protect.recoveredValue: value returned wheninnerfails (and final output type).checkers: applied to the final result (whether it comes frominneror the fallback).errorMessage: generic message in case of failure before recovery.
Return value
A DataParserRecover. schema.parse(data) always returns DEither.success with either the result of inner or the fallback. Errors produced while running inner are still available in DataParserError for audit/logging.
