fn give_status_code_context(status_code: StatusCode) {
    if let StatusCode::PAYLOAD_TOO_LARGE = status_code {
        message::warn("Returned status code 413, Payload Too Large. Make sure your upload is less than 100MB in size")
    }
}
// For handling cases where the API gateway returns errors via HTTP status codes
// (no KV error code is given).
For handling cases where the API gateway returns errors via HTTP status codes
(no KV error code is given).
For handling cases where the API gateway returns errors via HTTP status codes ( no KV error code is given ) .
fn give_status_code_context(status_code: StatusCode) {
    if let StatusCode::PAYLOAD_TOO_LARGE = status_code {
        message::warn("Returned status code 413, Payload Too Large. Make sure your upload is less than 100MB in size")
    }
}
fn give_status_code_context ( status_code : StatusCode ) { if let StatusCode :: PAYLOAD_TOO_LARGE = status_code { message :: warn ( " " ) } }
For handling cases where the API gateway returns errors via HTTP status codes
(no KV error code is given).
For handling cases where the API gateway returns errors via HTTP status codes ( no KV error code is given ) .
status_code
StatusCode