#include <userver/server/handlers/exceptions.hpp>
Exception class for situations when a request cannot be processed due to parsing errors. Corresponds to HTTP code 400.
Definition at line 341 of file exceptions.hpp.
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 321 of file exceptions.hpp.
|
inherited |
Definition at line 216 of file exceptions.hpp.
|
inherited |
Definition at line 217 of file exceptions.hpp.
|
inherited |
Definition at line 213 of file exceptions.hpp.
|
inherited |
Definition at line 215 of file exceptions.hpp.
|
inherited |
Definition at line 214 of file exceptions.hpp.
|
inlineinherited |
Definition at line 294 of file exceptions.hpp.
|
inlineinherited |
Definition at line 306 of file exceptions.hpp.
|
inlineinherited |
Definition at line 302 of file exceptions.hpp.
|
inlineinherited |
Definition at line 308 of file exceptions.hpp.
|
inlineinherited |
Definition at line 296 of file exceptions.hpp.
|
inlineinherited |
Definition at line 298 of file exceptions.hpp.
|
staticconstexprinherited |
Definition at line 320 of file exceptions.hpp.