errors.py: remove duplicate MatrixBadGateway class

This commit is contained in:
miruka 2021-03-02 08:42:58 -04:00
parent 4bff58c828
commit 3f88a2204e

View File

@ -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