#include <userver/server/handlers/exceptions.hpp>
Exception class for situations when request preconditions have failed. Corresponds to HTTP code 400.
Definition at line 323 of file exceptions.hpp.
Inheritance diagram for server::handlers::ClientError:Public Types | |
| using | BaseType |
| using | HandlerErrorCode = handlers::HandlerErrorCode |
| using | ServiceErrorCode = handlers::ServiceErrorCode |
| using | InternalMessage = handlers::InternalMessage |
| using | ExternalBody = handlers::ExternalBody |
| using | ExtraHeaders = handlers::ExtraHeaders |
Public Member Functions | |
| HandlerErrorCode | GetCode () const |
| const std::string & | GetServiceCode () const |
| bool | IsExternalErrorBodyFormatted () const |
| const std::string & | GetExternalErrorBody () const |
| const formats::json::Value & | GetDetails () const |
| const Headers & | GetExtraHeaders () const |
Static Public Attributes | |
| static constexpr HandlerErrorCode | kDefaultCode |
|
inherited |
Definition at line 309 of file exceptions.hpp.
|
inherited |
Definition at line 200 of file exceptions.hpp.
|
inherited |
Definition at line 201 of file exceptions.hpp.
|
inherited |
Definition at line 197 of file exceptions.hpp.
|
inherited |
Definition at line 199 of file exceptions.hpp.
|
inherited |
Definition at line 198 of file exceptions.hpp.
|
inlineinherited |
Definition at line 286 of file exceptions.hpp.
|
inlineinherited |
Definition at line 294 of file exceptions.hpp.
|
inlineinherited |
Definition at line 292 of file exceptions.hpp.
|
inlineinherited |
Definition at line 296 of file exceptions.hpp.
|
inlineinherited |
Definition at line 288 of file exceptions.hpp.
|
inlineinherited |
Definition at line 290 of file exceptions.hpp.
|
staticconstexprinherited |
Definition at line 308 of file exceptions.hpp.