ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
rux::gui::HttpError Class Reference

Thrown by a handler to produce a non-200 JSON error response. More...

#include <api.hpp>

Inheritance diagram for rux::gui::HttpError:
Collaboration diagram for rux::gui::HttpError:

Public Member Functions

 HttpError (int status, std::string message)
int status () const noexcept

Detailed Description

Thrown by a handler to produce a non-200 JSON error response.

Definition at line 88 of file api.hpp.

Constructor & Destructor Documentation

◆ HttpError()

rux::gui::HttpError::HttpError ( int status,
std::string message )
inline

Definition at line 90 of file api.hpp.

References status().

Member Function Documentation

◆ status()

int rux::gui::HttpError::status ( ) const
inlinenoexcept

Definition at line 93 of file api.hpp.

Referenced by HttpError().


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