pub fn decode_error_string(data: &[u8]) -> Option<String>
Try to decode the revert data as an Error(string) payload.
Error(string)
Returns Some(message) on success, None if the data doesn’t match the expected format.
Some(message)
None