github.com/gagliardetto/solana-go@v1.11.0/rpc/errors.go (about) 1 // Copyright 2021 github.com/gagliardetto 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package rpc 16 17 // rpc error: 18 // - https://github.com/solana-labs/solana/blob/d5961e9d9f005966f409fbddd40c3651591b27fb/client/src/rpc_custom_error.rs 19 20 // transaction error: 21 // - https://github.com/solana-labs/solana/blob/8817f59b6e5ce26f578b0834dbfac5c7daa82fab/sdk/src/transaction.rs 22 // - https://github.com/solana-labs/solana/blob/899b09872bd7c4af4d1c9c73f7b26d268af276eb/storage-proto/proto/transaction_by_addr.proto 23 24 // instruction error 25 // - https://github.com/solana-labs/solana/blob/f6371cce176d481b4132e5061262ca015db0f8b1/sdk/program/src/instruction.rs