Trait IntoAppError
pub trait IntoAppError<E> {
// Required method
fn into_app_error(self) -> E;
}
Expand description
A helper trait for converting a ServerFnErrorErr
into an application-specific custom error type that implements FromServerFnError
.
Required Methods§
fn into_app_error(self) -> E
fn into_app_error(self) -> E
Converts a ServerFnErrorErr
into the application-specific custom error type.