Docs.rs
  • bolt-lang-0.2.4
    • bolt-lang 0.2.4
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • GabrielePicco
    • Dependencies
      • ahash =0.8.11 normal
      • anchor-lang ^0 normal
      • bincode ^1 normal
      • bolt-attribute-bolt-arguments =0.2.4 normal
      • bolt-attribute-bolt-component =0.2.4 normal
      • bolt-attribute-bolt-component-deserialize =0.2.4 normal
      • bolt-attribute-bolt-component-id =0.2.4 normal
      • bolt-attribute-bolt-delegate =0.2.4 normal
      • bolt-attribute-bolt-extra-accounts =0.2.4 normal
      • bolt-attribute-bolt-program =0.2.4 normal
      • bolt-attribute-bolt-system =0.2.4 normal
      • bolt-attribute-bolt-system-input =0.2.4 normal
      • bolt-system =0.2.4 normal
      • ephemeral-rollups-sdk ^0 normal
      • getrandom ^0 normal
      • serde ^1 normal
      • serde_json ^1 normal
      • session-keys ^2 normal
      • solana-program ^2 normal
      • world =0.2.4 normal
      • zeroize ^1.7 normal
    • Versions
    • 60% 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

bolt_lang0.2.4

Module program_error

Module Items

  • Enums
  • Constants
  • Traits

In bolt_lang::solana_program

bolt_lang::solana_program

Module 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
ARITHMETIC_OVERFLOW
BORSH_IO_ERROR
BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS
CUSTOM_ZERO
ILLEGAL_OWNER
IMMUTABLE
INCORRECT_AUTHORITY
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