|
phaser-server
0.0.5
|
An "error" response with a text diagnostic. More...
#include <response.h>


Public Member Functions | |
| Failure (const char *) | |
| An error response with a diagnostic using the JSON tag "message". More... | |
Public Member Functions inherited from TextResponse | |
| TextResponse (Response_t, const char *=0, const char *=0) | |
| Construct an instance. More... | |
Public Member Functions inherited from JsonResponse | |
| JsonResponse (Response_t type) | |
| Construct with the outcome enumeration. | |
| std::string | operator() (void) |
| Get the JSON encoded response string. | |
Additional Inherited Members | |
Public Types inherited from JsonResponse | |
| enum class | Response_t { R_ok , R_warning , R_error } |
| Status of processed request. | |
Protected Member Functions inherited from TextResponse | |
| virtual void | Create (JSONObject &) override |
| Add the optional text message if one was provided. More... | |
An "error" response with a text diagnostic.
| Failure::Failure | ( | const char * | text | ) |
An error response with a diagnostic using the JSON tag "message".
| text | - A diagnostic explaining the problem encountered. |