Docs.rs
solana-program-2.0.6
solana-program 2.0.6
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.1
normal
borsh ^1.5.1
normal
optional
borsh ^0.10.3
normal
optional
bs58 ^0.5.1
normal
bv ^0.11.1
normal
bytemuck ^1.16.1
normal
bytemuck_derive ^1.7.0
normal
lazy_static ^1.4.0
normal
log ^0.4.21
normal
memoffset ^0.9
normal
num-derive ^0.4
normal
num-traits ^0.2
normal
qualifier_attr ^0.2.2
normal
optional
rustversion ^1.0.17
normal
serde ^1.0.203
normal
serde_bytes ^0.11.14
normal
serde_derive ^1.0.203
normal
sha2 ^0.10.8
normal
sha3 ^0.10.8
normal
solana-frozen-abi =2.0.6
normal
optional
solana-frozen-abi-macro =2.0.6
normal
optional
solana-sdk-macro =2.0.6
normal
thiserror ^1.0.61
normal
anyhow ^1.0.82
dev
array-bytes =1.4.1
dev
assert_matches ^1.5.0
dev
itertools ^0.12.1
dev
serde_json ^1.0.117
dev
static_assertions ^1.1.0
dev
rustc_version ^0.4
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.22.1
normal
bitflags ^2.5.0
normal
curve25519-dalek ^3.2.1
normal
libsecp256k1 ^0.6.0
normal
num-bigint ^0.4.5
normal
rand ^0.8.5
normal
arbitrary ^1.3.2
dev
libsecp256k1 ^0.6.0
dev
solana-logger =2.0.6
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.69
normal
wasm-bindgen ^0.2
normal
getrandom ^0.2.10
normal
Versions
52.87%
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
2.0.6
Module program_
error
Enums
Constants
Traits
In crate solana_
program
Module
solana_program
::
program_error
Copy item path
source
·
[
−
]
Expand description
The
ProgramError
type and related definitions.
Enums
§
Program
Error
Reasons the program may fail
Constants
§
ACCOUN
T_
ALREAD
Y_
INITIALIZED
ACCOUN
T_
BORRO
W_
FAILED
ACCOUN
T_
DATA_
TOO_
SMALL
ACCOUN
T_
NOT_
RENT_
EXEMPT
ARITHMETI
C_
OVERFLOW
BORS
H_
IO_
ERROR
BUILTI
N_
PROGRAM
S_
MUST_
CONSUM
E_
COMPUT
E_
UNITS
CUSTO
M_
ZERO
ILLEGA
L_
OWNER
IMMUTABLE
INCORREC
T_
AUTHORITY
INCORREC
T_
PROGRA
M_
ID
INSUFFICIEN
T_
FUNDS
INVALI
D_
ACCOUN
T_
DATA
INVALI
D_
ACCOUN
T_
DATA_
REALLOC
INVALI
D_
ACCOUN
T_
OWNER
INVALI
D_
ARGUMENT
INVALI
D_
INSTRUCTIO
N_
DATA
INVALI
D_
SEEDS
MAX_
ACCOUNT
S_
DATA_
ALLOCATION
S_
EXCEEDED
MAX_
INSTRUCTIO
N_
TRAC
E_
LENGT
H_
EXCEEDED
MAX_
SEED_
LENGT
H_
EXCEEDED
MISSIN
G_
REQUIRE
D_
SIGNATURES
NOT_
ENOUG
H_
ACCOUN
T_
KEYS
UNINITIALIZE
D_
ACCOUNT
UNSUPPORTE
D_
SYSVAR
Traits
§
Print
Program
Error