|
Operator
C++ library for plugging into matrix.org
|
base error class for Matrix protocol errors. More...
#include <error.hh>


Public Types | |
| typedef std::function< MatrixError *(unsigned short, const std::string &, const std::string &, std::map< std::string, nlohmann::json > &)> | error_builder_t |
Static Public Member Functions | |
| static Error * | newError (unsigned short status_code, const nlohmann::json &data) throw () |
| static void | registerErrorClass (const std::string &error_code, error_builder_t) |
| template<typename T > | |
| static MatrixError * | _new_helper (unsigned short _status_code, const std::string &, const std::string &_error, std::map< std::string, nlohmann::json > &_other_data) |
Protected Member Functions | |
| MatrixError (unsigned short _status_code, const std::string &_error, std::map< std::string, nlohmann::json > &_other_data) | |
base error class for Matrix protocol errors.
1.8.13