multiversx_sc_scenario::imports

Trait 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§

Source

fn finish_err<FA>(&self) -> !

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§