Docs.rs
  • solana-sdk-1.13.5
    • solana-sdk 1.13.5
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • anza-team
    • Dependencies
      • assert_matches ^1.5.0 normal
      • base64 ^0.13 normal
      • bincode ^1.3.3 normal
      • bitflags ^1.3.1 normal
      • borsh ^0.9.3 normal
      • bs58 ^0.4.0 normal
      • bytemuck ^1.8.0 normal
      • byteorder ^1.4.3 normal
      • chrono ^0.4 normal
      • curve25519-dalek ^3.2.1 normal
      • derivation-path ^0.2.0 normal
      • digest ^0.10.1 normal
      • ed25519-dalek =1.0.1 normal
      • ed25519-dalek-bip32 ^0.2.0 normal
      • generic-array ^0.14.5 normal
      • hmac ^0.12.1 normal
      • itertools ^0.10.3 normal
      • lazy_static ^1.4.0 normal
      • libsecp256k1 ^0.6.0 normal
      • log ^0.4.14 normal
      • memmap2 ^0.5.3 normal
      • num-derive ^0.3 normal
      • num-traits ^0.2 normal
      • pbkdf2 ^0.10.1 normal
      • qstring ^0.7.2 normal
      • rand ^0.7.0 normal
      • rand_chacha ^0.2.2 normal
      • rustversion ^1.0.6 normal
      • serde ^1.0.136 normal
      • serde_bytes ^0.11 normal
      • serde_derive ^1.0.103 normal
      • serde_json ^1.0.79 normal
      • sha2 ^0.10.2 normal
      • sha3 ^0.10.1 normal
      • solana-frozen-abi =1.13.5 normal
      • solana-frozen-abi-macro =1.13.5 normal
      • solana-logger =1.13.5 normal
      • solana-program =1.13.5 normal
      • solana-sdk-macro =1.13.5 normal
      • thiserror ^1.0 normal
      • uriparse ^0.6.3 normal
      • wasm-bindgen ^0.2 normal
      • anyhow ^1.0.56 dev
      • curve25519-dalek ^3.2.1 dev
      • tiny-bip39 ^0.8.2 dev
      • rustc_version ^0.4 build
      • js-sys ^0.3.55 normal
    • Versions
    • 57.48% of the crate is documented
  • Go to latest version
  • Platform
    • 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
logo

logo

Module program_error

  • Enums
  • Constants
  • Traits
?
Change settings

Module solana_sdk::program_error

source ·

Enums

ProgramError
Reasons the program may fail

Constants

ACCOUNT_ALREADY_INITIALIZED
ACCOUNT_BORROW_FAILED
ACCOUNT_DATA_TOO_SMALL
ACCOUNT_NOT_RENT_EXEMPT
BORSH_IO_ERROR
CUSTOM_ZERO
ILLEGAL_OWNER
INCORRECT_PROGRAM_ID
INSUFFICIENT_FUNDS
INVALID_ACCOUNT_DATA
INVALID_ACCOUNT_DATA_REALLOC
INVALID_ARGUMENT
INVALID_INSTRUCTION_DATA
INVALID_SEEDS
MAX_ACCOUNTS_DATA_SIZE_EXCEEDED
MAX_SEED_LENGTH_EXCEEDED
MISSING_REQUIRED_SIGNATURES
NOT_ENOUGH_ACCOUNT_KEYS
UNINITIALIZED_ACCOUNT
UNSUPPORTED_SYSVAR

Traits

PrintProgramError