Docs.rs
solana-program-1.18.26
solana-program 1.18.26
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
anza-team
Dependencies
bincode ^1.3.3
normal
blake3 ^1.5.0
normal
borsh ^1.2.1
normal
borsh ^0.10.3
normal
borsh ^0.9.3
normal
bs58 ^0.4.0
normal
bv ^0.11.1
normal
bytemuck ^1.14.0
normal
itertools ^0.10.5
normal
lazy_static ^1.4.0
normal
log ^0.4.20
normal
memoffset ^0.9
normal
num-derive ^0.4
normal
num-traits ^0.2
normal
rustversion ^1.0.14
normal
serde ^1.0.195
normal
serde_bytes ^0.11.14
normal
serde_derive ^1.0.103
normal
serde_json ^1.0.111
normal
sha2 ^0.10.8
normal
sha3 ^0.10.4
normal
solana-frozen-abi =1.18.26
normal
solana-frozen-abi-macro =1.18.26
normal
solana-sdk-macro =1.18.26
normal
thiserror ^1.0.56
normal
anyhow ^1.0.79
dev
array-bytes =1.4.1
dev
assert_matches ^1.5.0
dev
serde_json ^1.0.111
dev
static_assertions ^1.1.0
dev
rustc_version ^0.4
build
cc ^1.0.83
build
ark-bn254 ^0.4.0
normal
ark-ec ^0.4.0
normal
ark-ff ^0.4.0
normal
ark-serialize ^0.4.0
normal
base64 ^0.21.7
normal
bitflags ^2.4.2
normal
curve25519-dalek ^3.2.1
normal
itertools ^0.10.5
normal
libc ^0.2.152
normal
libsecp256k1 ^0.6.0
normal
light-poseidon ^0.2.0
normal
num-bigint ^0.4.4
normal
rand ^0.8.5
normal
tiny-bip39 ^0.8.2
normal
wasm-bindgen ^0.2
normal
zeroize ^1.3
normal
solana-logger =1.18.26
dev
parking_lot ^0.12
normal
console_error_panic_hook ^0.1.7
normal
console_log ^0.2.2
normal
getrandom ^0.2.10
normal
js-sys ^0.3.67
normal
getrandom ^0.2.10
normal
Versions
52.58%
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
solana_
program
1.18.26
Module program_
error
Module Items
Enums
Constants
Traits
In crate solana_
program
solana_program
Module
program_error
Copy item path
source
Expand description
The
ProgramError
type and related definitions.
Enums
§
Program
Error
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
§
Print
Program
Error