Skip to main content

Module error

Module error 

Source
Expand description

Program-side errors surfaced by the settlement program.

Enums§

SettlementError
Program-side errors surfaced by the settlement program. The discriminant value is the on-chain ProgramError::Custom code.

Functions§

parse_settlement_error
Decodes the settlement error from an instruction that failed in the settlement program, handing back the original error if it isn’t a known settlement error code.