Docs.rs
  • wasi-sol-0.0.7
    • wasi-sol 0.0.7
    • Permalink
    • Docs.rs crate page
    • MIT
    • 26 July 2025
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • wiseaidev
    • Dependencies
      • anyhow ^1.0.86 normal
      • bincode ^1.3.3 normal
      • dioxus ^0.5 normal optional
      • emitter-rs ^0.0.5 normal
      • gloo-storage ^0.3.0 normal
      • js-sys ^0.3.69 normal
      • leptos ^0.6.12 normal optional
      • log ^0.4.21 normal
      • serde ^1.0.203 normal
      • serde-wasm-bindgen ^0.6.5 normal
      • serde_json ^1.0.117 normal
      • solana-client-wasm ^1.18.0 normal
      • solana-sdk =1.18.0 normal
      • thiserror ^1.0.61 normal
      • wasm-bindgen ^0.2.92 normal
      • wasm-bindgen-futures ^0.4.42 normal
      • web-sys ^0.3.69 normal
      • yew ^0.21.0 normal optional
    • Versions
    • 9.14% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • 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

wasi_sol0.0.7

Module program_error

Module Items

  • Enums
  • Constants
  • Traits

In crate wasi_sol

wasi_sol

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