mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-08-06 17:40:59 +00:00
feat(appservice): pinging
This commit is contained in:
parent
b726ccaab8
commit
dc5abd6f3b
4 changed files with 85 additions and 0 deletions
|
@ -122,6 +122,8 @@ impl Error {
|
|||
LimitExceeded { .. } => StatusCode::TOO_MANY_REQUESTS,
|
||||
UserDeactivated => StatusCode::FORBIDDEN,
|
||||
TooLarge => StatusCode::PAYLOAD_TOO_LARGE,
|
||||
ConnectionTimeout => StatusCode::GATEWAY_TIMEOUT,
|
||||
BadStatus { .. } | ConnectionFailed => StatusCode::BAD_GATEWAY,
|
||||
_ => StatusCode::BAD_REQUEST,
|
||||
},
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue