Catch any nio.ErrorResponse to raise MatrixErrors
This commit is contained in:
@@ -71,11 +71,6 @@ class MatrixTooLarge(MatrixError):
|
||||
|
||||
# Client errors
|
||||
|
||||
@dataclass
|
||||
class UserNotFound(Exception):
|
||||
user_id: str = field()
|
||||
|
||||
|
||||
@dataclass
|
||||
class InvalidUserId(Exception):
|
||||
user_id: str = field()
|
||||
|
||||
Reference in New Issue
Block a user