Trait poem::error::ResponseError [−][src]
pub trait ResponseError {
fn status(&self) -> StatusCode;
}
Expand description
Represents a type that can be converted to Error
.
Required methods
fn status(&self) -> StatusCode
fn status(&self) -> StatusCode
The status code of this error.