pub enum CliError {
Core(ToolError),
SummaryRequiresOutput,
FeeLimitExceeded {
fee_lamports: u128,
max_lamports: u64,
},
UserRejected,
SummaryEncode(String),
PresentationEncode(String),
StdinRead(String),
}Variants§
Core(ToolError)
SummaryRequiresOutput
FeeLimitExceeded
UserRejected
SummaryEncode(String)
PresentationEncode(String)
StdinRead(String)
Trait Implementations§
Source§impl AsExitCode for CliError
impl AsExitCode for CliError
fn as_exit_code(&self) -> i32
Source§impl Error for CliError
impl Error for CliError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for CliError
impl !UnwindSafe for CliError
impl Freeze for CliError
impl Send for CliError
impl Sync for CliError
impl Unpin for CliError
impl UnsafeUnpin for CliError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more