diff options
author | Matias Linares <matiaslina@gmail.com> | 2020-12-27 12:19:17 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2020-12-27 12:19:17 -0300 |
commit | 6883348dafc0e6c58a5478074221f8cca7859716 (patch) | |
tree | 8dd8db05b0f31f2bf3aef81426758b2b658e9f7f /lib/Matrix/Client/Exception.pm6 | |
parent | e1abad7a57fd34ffb55c1d57d0b89ee91e55296b (diff) | |
parent | f1d1a526cc4950578e8769fe3c94147777466531 (diff) | |
download | perl6-matrix-client-6883348dafc0e6c58a5478074221f8cca7859716.tar.gz |
Merge branch 'master' into documentation
Diffstat (limited to 'lib/Matrix/Client/Exception.pm6')
-rw-r--r-- | lib/Matrix/Client/Exception.pm6 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Matrix/Client/Exception.pm6 b/lib/Matrix/Client/Exception.pm6 index 924eece..e02f572 100644 --- a/lib/Matrix/Client/Exception.pm6 +++ b/lib/Matrix/Client/Exception.pm6 @@ -7,4 +7,10 @@ package X::Matrix { "$!code: $!error" } } + + class MXCParse is Exception { + has $.uri; + + method message { "Cannot parse '$!uri'" } + } } |