Creates a Solana library exception with a short descriptive message of the error and an optional error code.
Solana
message
code
const SolanaException( this.message, { this.code, });