Operator
C++ library for plugging into matrix.org
|
The password is too weak. More...
#include <error.hh>
Additional Inherited Members | |
![]() | |
typedef std::function< MatrixError *(unsigned short, const std::string &, const std::string &, std::map< std::string, nlohmann::json > &)> | error_builder_t |
![]() | |
virtual const std::string & | getErrorCode () const =0 |
const std::string & | getError () const |
unsigned short | getStatusCode () const |
const std::map< std::string, nlohmann::json > & | getData () const |
std::string | to_string () const |
![]() | |
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) |
![]() | |
static const char | M_FORBIDDEN [] |
static const char | M_UNKNOWN_TOKEN [] |
static const char | M_BAD_JSON [] |
static const char | M_NOT_JSON [] |
static const char | M_NOT_FOUND [] |
static const char | M_LIMIT_EXCEEDED [] |
static const char | M_USER_IN_USE [] |
static const char | M_INVALID_USERNAME [] |
static const char | M_ROOM_IN_USE [] |
static const char | M_BAD_PAGINATION [] |
static const char | M_THREEPID_IN_USE [] |
static const char | M_THREEPID_NOT_FOUND [] |
static const char | M_SERVER_NOT_TRUSTED [] |
static const char | M_WEAK_PASSWORD [] |
static const char | M_UNKNOWN [] |
static const char | M_EXCLUSIVE [] |
static const char | M_MISSING_PARAM [] |
![]() | |
MatrixError (unsigned short _status_code, const std::string &_error, std::map< std::string, nlohmann::json > &_other_data) | |
The password is too weak.