diff options
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'" } + } } |