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/UnimplementedMethodException.pm6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/Config/Exception/UnimplementedMethodException.pm6') diff --git a/lib/Config/Exception/UnimplementedMethodException.pm6 b/lib/Config/Exception/UnimplementedMethodException.pm6 index ae87db9..10af289 100644 --- a/lib/Config/Exception/UnimplementedMethodException.pm6 +++ b/lib/Config/Exception/UnimplementedMethodException.pm6 @@ -4,8 +4,10 @@ use v6.c; class Config::Exception::UnimplementedMethodException is Exception { + has Str $.method; + method message() { - "This method is not implemented" + "The $!method method is not implemented" } } -- cgit v1.1