From a8443109111d33fc66b84f7a58a84e6fb6b9b99d Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sat, 12 Dec 2020 22:36:10 -0800 Subject: [PATCH] spelling --- docs/src/developing/deployed-programs/debugging.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/developing/deployed-programs/debugging.md b/docs/src/developing/deployed-programs/debugging.md index 9b0c932057..c7fa5e01da 100644 --- a/docs/src/developing/deployed-programs/debugging.md +++ b/docs/src/developing/deployed-programs/debugging.md @@ -47,16 +47,16 @@ get more information: - `InstructionError::InvalidAccountData` will be returned as part of the transaction error. - The BPF loader may fail to setup the program's execution environment - - `InstrucitonError::Custom(0x0b9f_0001)` will be returned as part of the + - `InstructionError::Custom(0x0b9f_0001)` will be returned as part of the transaction error. "0x0b9f_0001" is the hexadecimal representation of [`VirtualMachineCreationFailed`](https://github.com/solana-labs/solana/blob/bc7133d7526a041d1aaee807b80922baa89b6f90/programs/bpf_loader/src/lib.rs#L44). - The BPF loader may have detected a fatal error during program executions (things like panics, memory violations, system call errors, etc...) - - `InstrucitonError::Custom(0x0b9f_0002)` will be returned as part of the + - `InstructionError::Custom(0x0b9f_0002)` will be returned as part of the transaction error. "0x0b9f_0002" is the hexadecimal representation of [`VirtualMachineFailedToRunProgram`](https://github.com/solana-labs/solana/blob/bc7133d7526a041d1aaee807b80922baa89b6f90/programs/bpf_loader/src/lib.rs#L46). - The program itself may return an error - - `InstrucitonError::Custom()` will be returned. The + - `InstructionError::Custom()` will be returned. The "user defined value" must not conflict with any of the [builtin runtime program errors](https://github.com/solana-labs/solana/blob/bc7133d7526a041d1aaee807b80922baa89b6f90/sdk/program/src/program_error.rs#L87).