Struct concordium_std::NotPayableError
source · pub struct NotPayableError;
Expand description
Error triggered when a non-zero amount of CCD is sent to a contract
init or receive function that is not marked as payable
.
Trait Implementations§
source§impl Clone for NotPayableError
impl Clone for NotPayableError
source§fn clone(&self) -> NotPayableError
fn clone(&self) -> NotPayableError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NotPayableError
impl Debug for NotPayableError
source§impl From<NotPayableError> for Reject
impl From<NotPayableError> for Reject
The error code is i32::MIN + 12.
source§fn from(_: NotPayableError) -> Self
fn from(_: NotPayableError) -> Self
Converts to this type from the input type.