Trait dharitri_wasm::types::SCError
source · pub trait SCError {
// Required method
fn finish_err<FA: EndpointFinishApi>(&self, api: FA) -> !;
}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: EndpointFinishApi>(&self, api: FA) -> !
Object Safety§
This trait is not object safe.