We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InstructionError
1 parent 7f94330 commit df0f47aCopy full SHA for df0f47a
packages/rpc-types/src/transaction-error.ts
@@ -10,6 +10,7 @@ type InstructionError =
10
| 'AccountNotExecutable'
11
| 'AccountNotRentExempt'
12
| 'ArithmeticOverflow'
13
+ | 'BorshIoError' // SDKv3 has a fieldless `BorshIoError`
14
| 'BuiltinProgramsMustConsumeComputeUnits'
15
| 'CallDepth'
16
| 'ComputationalBudgetExceeded'
@@ -54,8 +55,6 @@ type InstructionError =
54
55
| 'UninitializedAccount'
56
| 'UnsupportedProgramId'
57
| 'UnsupportedSysvar'
- | 'BorshIoError' // SDKv3 has a fieldless `BorshIoError`
58
- | { BorshIoError: string } // SDK pre-v3 has a newtype for `BorshIoError`
59
| { Custom: CustomProgramError };
60
61
type InstructionIndex = number;
0 commit comments