Trait multiversx_sc_snippets::imports::SCError
source · pub trait SCError {
// Required method
fn finish_err<FA>(&self) -> !
where FA: EndpointFinishApi;
}
Expand description
Any type that implements this trait can be used to signal errors when returning from a SC endpoint.
Required Methods§
fn finish_err<FA>(&self) -> !where
FA: EndpointFinishApi,
Object Safety§
This trait is not object safe.