MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / code_error_message

Function code_error_message

fendermint/app/src/tmconv.rs:419–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417
418 #[test]
419 fn code_error_message() {
420 assert_eq!(to_error_msg(ExitCode::OK), "");
421 assert_eq!(
422 to_error_msg(ExitCode::SYS_SENDER_INVALID),
423 "The message sender doesn't exist."
424 );
425 }
426
427 #[quickcheck_macros::quickcheck]
428 fn abci_snapshot_metadata(snapshot: SnapshotItem) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected