Map a contract/simulation revert to its typed MusdError. Matches on the distinctive substring of each verified reason (ground-truth §11), case-insensitive. Unrecognized → ContractCallFailed (raw reason + original error preserved; never swallowed).
MusdError
ContractCallFailed
Optional
Map a contract/simulation revert to its typed
MusdError. Matches on the distinctive substring of each verified reason (ground-truth §11), case-insensitive. Unrecognized →ContractCallFailed(raw reason + original error preserved; never swallowed).