Skip to main content

describe_revert

Function describe_revert 

Source
fn describe_revert(data: &[u8], contract: &Contract) -> String
Expand description

Revert data as hex, named after the contract’s error when its selector matches one, or with its message when it is a standard error such as Error(string) or a failed cheatcode