Docs.rs
  • miraland-sdk-1.19.2
    • miraland-sdk 1.19.2
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • miralandlabs
    • Dependencies
      • assert_matches ^1.5.0 normal optional
      • base64 ^0.22.1 normal
      • bincode ^1.3.3 normal
      • bitflags ^2.5.0 normal
      • borsh ^1.5.1 normal
      • bs58 ^0.5.1 normal
      • bytemuck ^1.19.0 normal
      • byteorder ^1.5.0 normal optional
      • chrono ^0.4.38 normal optional
      • curve25519-dalek ^3.2.1 normal optional
      • derivation-path ^0.2.0 normal
      • digest ^0.10.7 normal optional
      • ed25519-dalek =1.0.1 normal optional
      • ed25519-dalek-bip32 ^0.2.0 normal optional
      • generic-array ^0.14.7 normal optional
      • hmac ^0.12.1 normal
      • itertools ^0.12.1 normal
      • lazy_static ^1.4.0 normal
      • libsecp256k1 ^0.6.0 normal optional
      • log ^0.4.21 normal
      • memmap2 ^0.5.10 normal optional
      • miraland-frozen-abi =1.19.2 normal
      • miraland-frozen-abi-macro =1.19.2 normal
      • miraland-logger =1.19.2 normal optional
      • miraland-program =1.19.2 normal
      • miraland-sdk-macro =1.19.2 normal
      • num-derive ^0.4 normal
      • num-traits ^0.2 normal
      • num_enum ^0.7.2 normal
      • pbkdf2 ^0.11.0 normal
      • qstring ^0.7.2 normal
      • qualifier_attr ^0.2.2 normal
      • rand ^0.8.5 normal optional
      • rand ^0.7 normal optional
      • rustversion ^1.0.17 normal
      • serde ^1.0.203 normal
      • serde_bytes ^0.11.14 normal
      • serde_derive ^1.0.203 normal
      • serde_json ^1.0.117 normal optional
      • serde_with ^2.3.3 normal
      • sha2 ^0.10.8 normal
      • sha3 ^0.10.8 normal optional
      • siphasher ^0.3.11 normal
      • thiserror ^1.0.61 normal
      • uriparse ^0.6.4 normal
      • wasm-bindgen ^0.2 normal
      • anyhow ^1.0.82 dev
      • curve25519-dalek ^3.2.1 dev
      • hex ^0.4.3 dev
      • static_assertions ^1.1.0 dev
      • tiny-bip39 ^0.8.2 dev
      • rustc_version ^0.4 build
      • js-sys ^0.3.69 normal
    • Versions
    • 64.1% of the crate is documented
  • 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

miraland_sdk1.19.2

Module program_error

Module Items

  • Enums
  • Constants
  • Traits

In crate miraland_sdk

miraland_sdk

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
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