Skip to main content

ErrorLocked

Function ErrorLocked 

Source
pub fn ErrorLocked<T>(err: T) -> InternalError<T>
where T: Debug + Display + 'static,
Expand description

Helper function that creates wrapper of any error and generate LOCKED response.