Operator
C++ library for plugging into matrix.org
All Classes Namespaces Files Functions Typedefs Pages
Classes | Typedefs
Operator::Error Namespace Reference

error handling. More...

Classes

class  _MatrixErr
 
class  Error
 base error class. More...
 
class  InvalidData
 invalid data error. More...
 
class  MatrixBadJson
 Request contained valid JSON, but it was malformed in some way, e.g. missing required keys, invalid values for keys. More...
 
class  MatrixBadPagination
 Encountered when specifying bad pagination query parameters. More...
 
class  MatrixError
 base error class for Matrix protocol errors. More...
 
class  MatrixExclusive
 The desired user ID is in the exclusive namespace claimed by an application service. More...
 
class  MatrixForbidden
 Forbidden access, e.g. joining a room without permission, failed login. More...
 
class  MatrixInvalidUsername
 Encountered when trying to register a user ID which is not valid. More...
 
class  MatrixLimitExceeded
 Too many requests have been sent in a short period of time. Wait a while then try again. More...
 
class  MatrixMissingParam
 A parameter is missing. More...
 
class  MatrixNotFound
 No resource was found for this request. More...
 
class  MatrixNotJson
 Request did not contain valid JSON. More...
 
class  MatrixRoomInUse
 Encountered when trying to create a room which has been taken. More...
 
class  MatrixServerNotTrusted
 The client's request used a third party server, eg. ID server, that this server does not trust. More...
 
class  MatrixThreepidInUse
 Sent when a threepid given to an API cannot be used because the same threepid is already in use. More...
 
class  MatrixThreepidNotFound
 Sent when a threepid given to an API cannot be used because no record matching the threepid was found. More...
 
class  MatrixUnknown
 Unknown. More...
 
class  MatrixUnknownToken
 The access token specified was not recognised. More...
 
class  MatrixUserInUse
 Encountered when trying to register a user ID which has been taken. More...
 
class  MatrixWeakPassword
 The password is too weak. More...
 
class  OtherMatrixError
 Unknown (possibly custom) Matrix error. More...
 

Typedefs

using MatrixForbidden = _MatrixErr< MatrixError::M_FORBIDDEN >
 
using MatrixUnknownToken = _MatrixErr< MatrixError::M_UNKNOWN_TOKEN >
 
using MatrixBadJson = _MatrixErr< MatrixError::M_BAD_JSON >
 
using MatrixNotJson = _MatrixErr< MatrixError::M_NOT_JSON >
 
using MatrixNotFound = _MatrixErr< MatrixError::M_NOT_FOUND >
 
using MatrixLimitExceeded = _MatrixErr< MatrixError::M_LIMIT_EXCEEDED >
 
using MatrixUserInUse = _MatrixErr< MatrixError::M_USER_IN_USE >
 
using MatrixInvalidUsername = _MatrixErr< MatrixError::M_INVALID_USERNAME >
 
using MatrixRoomInUse = _MatrixErr< MatrixError::M_ROOM_IN_USE >
 
using MatrixBadPagination = _MatrixErr< MatrixError::M_BAD_PAGINATION >
 
using MatrixThreepidInUse = _MatrixErr< MatrixError::M_THREEPID_IN_USE >
 
using MatrixThreepidNotFound = _MatrixErr< MatrixError::M_THREEPID_NOT_FOUND >
 
using MatrixServerNotTrusted = _MatrixErr< MatrixError::M_SERVER_NOT_TRUSTED >
 
using MatrixWeakPassword = _MatrixErr< MatrixError::M_WEAK_PASSWORD >
 
using MatrixUnknown = _MatrixErr< MatrixError::M_UNKNOWN >
 
using MatrixExclusive = _MatrixErr< MatrixError::M_EXCLUSIVE >
 
using MatrixMissingParam = _MatrixErr< MatrixError::M_MISSING_PARAM >
 

Detailed Description

error handling.