File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { SolanaError } from './error';
77import { getSolanaErrorFromRpcError } from './rpc-enum-errors' ;
88
99const ORDERED_ERROR_NAMES = [
10- // Keep synced with RPC source: https://github.com/anza-xyz/agave /blob/master/sdk/program/ src/instruction .rs
10+ // Keep synced with RPC source: https://github.com/anza-xyz/solana-sdk /blob/master/instruction-error/ src/lib .rs
1111 // If this list ever gets too large, consider implementing a compression strategy like this:
1212 // https://gist.github.com/steveluscher/aaa7cbbb5433b1197983908a40860c47
1313 'GenericError' ,
Original file line number Diff line number Diff line change 11type CustomProgramError = number ;
22
3- // Keep synced with RPC source: https://github.com/anza-xyz/agave /blob/master/sdk/program/ src/instruction .rs
3+ // Keep synced with RPC source: https://github.com/anza-xyz/solana-sdk /blob/master/instruction-error/ src/lib .rs
44type InstructionError =
55 | 'AccountAlreadyInitialized'
66 | 'AccountBorrowFailed'
You can’t perform that action at this time.
0 commit comments