pub fn new_application_error<S: Into<String>>(
kind: ApplicationErrorKind,
message: S,
) -> Error
Expand description
Create a new Error
instance of type Application
that wraps an
ApplicationError
.
pub fn new_application_error<S: Into<String>>(
kind: ApplicationErrorKind,
message: S,
) -> Error
Create a new Error
instance of type Application
that wraps an
ApplicationError
.