Docs.rs
  • switchboard-solana-0.30.4
    • switchboard-solana 0.30.4
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Documentation
    • Repository
    • crates.io
    • Source
    • Owners
    • mgild
    • Dependencies
      • anchor-lang ^0.30.1 normal
      • bytemuck ^1.16.1 normal
      • lazy_static ^1.5.0 normal
      • rust_decimal ^1.32.0 normal
      • superslice ^1.0.0 normal
    • Versions
    • 51.75% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

switchboard_solana0.30.4

Module program_error

Module Items

  • Enums
  • Constants
  • Traits

In switchboard_solana::program_id

switchboard_solana::program_id

Module program_error

Source
Expand description

The ProgramError type and related definitions.

Enums§

ProgramError
Reasons the program may fail

Constants§

ACCOUNT_ALREADY_INITIALIZED
ACCOUNT_BORROW_FAILED
ACCOUNT_DATA_TOO_SMALL
ACCOUNT_NOT_RENT_EXEMPT
ARITHMETIC_OVERFLOW
BORSH_IO_ERROR
BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS
CUSTOM_ZERO
ILLEGAL_OWNER
INCORRECT_PROGRAM_ID
INSUFFICIENT_FUNDS
INVALID_ACCOUNT_DATA
INVALID_ACCOUNT_DATA_REALLOC
INVALID_ACCOUNT_OWNER
INVALID_ARGUMENT
INVALID_INSTRUCTION_DATA
INVALID_SEEDS
MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED
MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED
MAX_SEED_LENGTH_EXCEEDED
MISSING_REQUIRED_SIGNATURES
NOT_ENOUGH_ACCOUNT_KEYS
UNINITIALIZED_ACCOUNT
UNSUPPORTED_SYSVAR

Traits§

PrintProgramError