diff options
author | Matias Linares <matiaslina@gmail.com> | 2021-01-11 22:20:09 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2021-01-11 22:20:09 -0300 |
commit | 7be9fa68bef82a7576344a6e8cc1e51154c6b3bf (patch) | |
tree | d60908a75c60b55d4ea90f6079c2459f9cf56be9 /lib/Matrix/Client/Exception.pm6 | |
parent | 9da9134f0b28c0e4c69537b54fd96dca3a66aaed (diff) | |
download | perl6-matrix-client-7be9fa68bef82a7576344a6e8cc1e51154c6b3bf.tar.gz |
Response & Exception refactor
Diffstat (limited to 'lib/Matrix/Client/Exception.pm6')
-rw-r--r-- | lib/Matrix/Client/Exception.pm6 | 16 |
1 files changed, 0 insertions, 16 deletions
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'" } - } -} |