MCPcopy Create free account
hub / github.com/solana-program/system / from

Method from

clients/rust/src/generated/errors/system.rs:43–45  ·  view source on GitHub ↗
(e: SystemError)

Source from the content-addressed store, hash-verified

41
42impl From<SystemError> for solana_program_error::ProgramError {
43 fn from(e: SystemError) -> Self {
44 solana_program_error::ProgramError::Custom(e as u32)
45 }
46}

Calls

no outgoing calls

Tested by

no test coverage detected