Function poem::error::Locked

source ·
pub fn Locked(err: impl StdError + Send + Sync + 'static) -> Error
Expand description

Wraps any error into Error and the status code is StatusCode::LOCKED.