Function poem::error::PayloadTooLarge[][src]

pub fn PayloadTooLarge(err: impl Display) -> Error
Expand description

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