#include <userver/server/handlers/exceptions.hpp>
Exception class for situations when some requested entity could not be accessed, because it does not exist. Corresponds to HTTP code 404.
Definition at line 345 of file exceptions.hpp.
Inheritance diagram for server::handlers::ResourceNotFound:Public Types | |
| using | BaseType |
| using | HandlerErrorCode |
| using | ServiceErrorCode |
| using | InternalMessage |
| using | ExternalBody |
| using | 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 310 of file exceptions.hpp.
|
inherited |
Definition at line 201 of file exceptions.hpp.
|
inherited |
Definition at line 202 of file exceptions.hpp.
|
inherited |
Definition at line 198 of file exceptions.hpp.
|
inherited |
Definition at line 200 of file exceptions.hpp.
|
inherited |
Definition at line 199 of file exceptions.hpp.
|
inlineinherited |
Definition at line 287 of file exceptions.hpp.
|
inlineinherited |
Definition at line 295 of file exceptions.hpp.
|
inlineinherited |
Definition at line 293 of file exceptions.hpp.
|
inlineinherited |
Definition at line 297 of file exceptions.hpp.
|
inlineinherited |
Definition at line 289 of file exceptions.hpp.
|
inlineinherited |
Definition at line 291 of file exceptions.hpp.
|
staticconstexprinherited |
Definition at line 309 of file exceptions.hpp.