aboutsummaryrefslogtreecommitdiff
path: root/lib/Config/Exception/FileNotFoundException.pm6
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Config/Exception/FileNotFoundException.pm6')
-rw-r--r--lib/Config/Exception/FileNotFoundException.pm64
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Config/Exception/FileNotFoundException.pm6 b/lib/Config/Exception/FileNotFoundException.pm6
index 74d7bc1..b00f956 100644
--- a/lib/Config/Exception/FileNotFoundException.pm6
+++ b/lib/Config/Exception/FileNotFoundException.pm6
@@ -4,8 +4,10 @@ use v6.c;
class Config::Exception::FileNotFoundException is Exception
{
+ has Str $.path;
+
method message()
{
- "Could not find file"
+ "Could not find file at $!path"
}
}