1 files changed, 1 insertions, 2 deletions
diff --git a/LibMatrix/MatrixException.cs b/LibMatrix/MatrixException.cs
index 6a0f352..86dbce4 100644
--- a/LibMatrix/MatrixException.cs
+++ b/LibMatrix/MatrixException.cs
@@ -23,7 +23,6 @@ public class MatrixException : Exception {
public object GetAsObject() => new { ErrorCode, Error, SoftLogout, RetryAfterMs };
public string GetAsJson() => GetAsObject().ToJson(ignoreNull: true);
-
public override string Message =>
$"{ErrorCode}: {ErrorCode switch {
// common
@@ -62,4 +61,4 @@ public class MatrixException : Exception {
"M_CANNOT_LEAVE_SERVER_NOTICE_ROOM" => $"Cannot leave server notice room: {Error}",
_ => $"Unknown error: {new { ErrorCode, Error, SoftLogout, RetryAfterMs }.ToJson(ignoreNull: true)}"
}}";
-}
+}
\ No newline at end of file
|