Docs.rs
  • bolt-lang-0.1.12
    • bolt-lang 0.1.12
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • GabrielePicco
    • Dependencies
      • ahash =0.8.11 normal
      • anchor-lang =0.30.1 normal
      • bolt-attribute-bolt-arguments =0.1.12 normal
      • bolt-attribute-bolt-component =0.1.12 normal
      • bolt-attribute-bolt-component-deserialize =0.1.12 normal
      • bolt-attribute-bolt-component-id =0.1.12 normal
      • bolt-attribute-bolt-delegate =0.1.12 normal
      • bolt-attribute-bolt-extra-accounts =0.1.12 normal
      • bolt-attribute-bolt-program =0.1.12 normal
      • bolt-attribute-bolt-system =0.1.12 normal
      • bolt-attribute-bolt-system-input =0.1.12 normal
      • bolt-system =0.1.12 normal
      • ephemeral-rollups-sdk =0.0.6 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • world =0.1.12 normal
    • Versions
    • 60% of the crate is documented
  • Go to latest version
  • 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.1.12

Module program_error

Module Items

  • Enums
  • Constants
  • Traits

In bolt_lang::solana_program

bolt_lang::solana_program

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