Enum soroban_env_guest::SymbolError
source · Expand description
Errors related to operations on the Symbol type.
Variants§
TooLong(usize)
Returned when attempting to form a Symbol from a string with more than 10 characters.
BadChar(char)
Returned when attempting to form a Symbol from a string with
characters outside the range [a-zA-Z0-9_]
.
Trait Implementations§
source§impl Debug for SymbolError
impl Debug for SymbolError
source§impl Display for SymbolError
impl Display for SymbolError
source§impl From<SymbolError> for ConversionError
impl From<SymbolError> for ConversionError
source§fn from(_: SymbolError) -> ConversionError
fn from(_: SymbolError) -> ConversionError
Converts to this type from the input type.
source§impl From<SymbolError> for Status
impl From<SymbolError> for Status
source§fn from(se: SymbolError) -> Status
fn from(se: SymbolError) -> Status
Converts to this type from the input type.