Struct concordium_std::Reject [−][src]
#[repr(transparent)]pub struct Reject {
pub error_code: NonZeroI32,
}
Expand description
An error message, signalling rejection of a smart contract invocation. The client will see the error code as a reject reason; if a schema is provided, the error message corresponding to the error code will be displayed. The valid range for an error code is from i32::MIN to -1.
Fields
error_code: NonZeroI32
Implementations
Trait Implementations
Default error is i32::MIN.
Full is mapped to i32::MIN+3, Malformed is mapped to i32::MIN+4.
MissingInitPrefix is mapped to i32::MIN + 5, TooLong to i32::MIN + 6, ContainsDot to i32::MIN + 9, and InvalidCharacters to i32::MIN + 10.
Performs the conversion.
MissingDotSeparator is mapped to i32::MIN + 7, TooLong to i32::MIN + 8, and InvalidCharacters to i32::MIN + 11.
Performs the conversion.
The error code is i32::MIN + 12
Performs the conversion.
Performs the conversion.