aboutsummaryrefslogtreecommitdiff
path: root/lib/Config/Exception/UnknownTypeException.pm6
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-04-24 11:12:08 +0200
committerPatrick Spek <p.spek@tyil.nl>2017-04-24 11:12:08 +0200
commitb01a053e3d4012064a667745634010dd654b4777 (patch)
treeed702ba420a3cda7f39f0b6b249b294f02dca487 /lib/Config/Exception/UnknownTypeException.pm6
parentede6b8c4cfac8c5eed668ba8357f9e8b11ccbc43 (diff)
Update exceptions with more meaningful messages
Diffstat (limited to 'lib/Config/Exception/UnknownTypeException.pm6')
-rw-r--r--lib/Config/Exception/UnknownTypeException.pm64
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Config/Exception/UnknownTypeException.pm6 b/lib/Config/Exception/UnknownTypeException.pm6
index de58755..095572b 100644
--- a/lib/Config/Exception/UnknownTypeException.pm6
+++ b/lib/Config/Exception/UnknownTypeException.pm6
@@ -4,8 +4,10 @@ use v6.c;
class Config::Exception::UnknownTypeException is Exception
{
+ has Str $.file;
+
method message()
{
- "Could not deduce loader type."
+ "Could not deduce loader type for $!file."
}
}