rikitiki  v0.1.67
Build C++ web server modules that allow easy routing and deployment.
rikitiki::HandlerException Struct Reference

#include <server.h>

Public Member Functions

 HandlerException (const HttpStatus &s)
 

Public Attributes

const HttpStatusstatus
 

Detailed Description

Thrown from within handlers to immediately stop handler execution. Note that throwing an exception will treat the request as handled, by design.

Member Data Documentation

const HttpStatus* rikitiki::HandlerException::status
Optionally specify the status to return.

If no status is set, Internal_Server_Error is returned.


The documentation for this struct was generated from the following file: