SolanaException constructor

const SolanaException(
  1. String message, {
  2. int? code,
})

Creates a Solana library exception with a short descriptive message of the error and an optional error code.

Implementation

const SolanaException(
  this.message, {
  this.code,
});