#include <userver/server/handlers/exceptions.hpp>
Exception class for situations when a conflict happens, e.g. the client attempts to create an entity that already exists. Corresponds to HTTP code 409.
Definition at line 357 of file exceptions.hpp.
Inheritance diagram for server::handlers::ConflictError: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 314 of file exceptions.hpp.
|
inherited |
Definition at line 206 of file exceptions.hpp.
|
inherited |
Definition at line 207 of file exceptions.hpp.
|
inherited |
Definition at line 203 of file exceptions.hpp.
|
inherited |
Definition at line 205 of file exceptions.hpp.
|
inherited |
Definition at line 204 of file exceptions.hpp.
|
inlineinherited |
Definition at line 291 of file exceptions.hpp.
|
inlineinherited |
Definition at line 299 of file exceptions.hpp.
|
inlineinherited |
Definition at line 297 of file exceptions.hpp.
|
inlineinherited |
Definition at line 301 of file exceptions.hpp.
|
inlineinherited |
Definition at line 293 of file exceptions.hpp.
|
inlineinherited |
Definition at line 295 of file exceptions.hpp.
|
staticconstexprinherited |
Definition at line 313 of file exceptions.hpp.