multiversx_sc::types

Trait SCError

Source
pub trait SCError {
    // Required method
    fn finish_err<FA: EndpointFinishApi>(&self) -> !;
}
Expand description

Any type that implements this trait can be used to signal errors when returning from a SC endpoint.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§