From 7be9fa68bef82a7576344a6e8cc1e51154c6b3bf Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Mon, 11 Jan 2021 22:20:09 -0300 Subject: Response & Exception refactor --- lib/Matrix/Client/Exception.pm6 | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 lib/Matrix/Client/Exception.pm6 (limited to 'lib/Matrix/Client/Exception.pm6') diff --git a/lib/Matrix/Client/Exception.pm6 b/lib/Matrix/Client/Exception.pm6 deleted file mode 100644 index e02f572..0000000 --- a/lib/Matrix/Client/Exception.pm6 +++ /dev/null @@ -1,16 +0,0 @@ -package X::Matrix { - class Response is Exception { - has $.code; - has $.error; - - method message { - "$!code: $!error" - } - } - - class MXCParse is Exception { - has $.uri; - - method message { "Cannot parse '$!uri'" } - } -} -- cgit v1.2.3-70-g09d2