errors.py: remove duplicate MatrixBadGateway class
This commit is contained in:
parent
4bff58c828
commit
3f88a2204e
|
@ -90,11 +90,6 @@ class MatrixTooLarge(MatrixError):
|
||||||
m_code: str = "M_TOO_LARGE"
|
m_code: str = "M_TOO_LARGE"
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
|
||||||
class MatrixBadGateway(MatrixError):
|
|
||||||
http_code: int = 502
|
|
||||||
m_code: Optional[str] = None
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class MatrixBadGateway(MatrixError):
|
class MatrixBadGateway(MatrixError):
|
||||||
http_code: int = 502
|
http_code: int = 502
|
||||||
|
|
Loading…
Reference in New Issue
Block a user