Skip to main content

decode_revert_reason

Function decode_revert_reason 

Source
pub fn decode_revert_reason(data: &Bytes) -> RevertReason
Expand description

Decode revert data using only the standard Solidity built-ins.

For application-specific custom errors, build a RevertDecoder and call RevertDecoder::decode.