From b01a053e3d4012064a667745634010dd654b4777 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Mon, 24 Apr 2017 11:12:08 +0200 Subject: Update exceptions with more meaningful messages --- lib/Config/Exception/UnknownTypeException.pm6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/Config/Exception/UnknownTypeException.pm6') 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." } } -- cgit v1.1