aboutsummaryrefslogtreecommitdiff
path: root/lib/Config/Exception/FileNotFoundException.pm6
diff options
context:
space:
mode:
authorPatrick Spek <Tyil@users.noreply.github.com>2017-04-26 07:44:59 +0200
committerGitHub <noreply@github.com>2017-04-26 07:44:59 +0200
commitacdac7ea2f81e739c7e2b5cb37d3f3cdc71962a8 (patch)
treeed702ba420a3cda7f39f0b6b249b294f02dca487 /lib/Config/Exception/FileNotFoundException.pm6
parent60aff52595020f378cd0d1a4d9d75894e083b9e0 (diff)
parentb01a053e3d4012064a667745634010dd654b4777 (diff)
Merge pull request #1 from scriptkitties/docs
Improve documentation
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"
}
}