pub fn revert(msg: impl Into<String>) -> PrecompileFailure
Generate an encoded revert from a simple String. Returns a PrecompileFailure that fits in an EvmResult::Err.
PrecompileFailure
EvmResult::Err