Function thrift::new_application_error
source ยท 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
.