Optional ReadonlycauseIndicates the root cause of this SolanaError, if any.
For example, a transaction error might have an instruction error as its root cause. In this
case, you will be able to access the instruction error on the transaction error as cause.
ReadonlycontextContains context that can assist in understanding or recovering from a SolanaError.
OptionalstackStatic OptionalprepareOptional override for formatting stack traces
Staticstack
Encapsulates an error's stacktrace, a Solana-specific numeric code that indicates what went wrong, and optional context if the type of error indicated by the code supports it.