aboutsummaryrefslogtreecommitdiff
path: root/lib/Config/Parser.pm6
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Config/Parser.pm6')
-rw-r--r--lib/Config/Parser.pm68
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Config/Parser.pm6 b/lib/Config/Parser.pm6
index 23effc0..1a99ad6 100644
--- a/lib/Config/Parser.pm6
+++ b/lib/Config/Parser.pm6
@@ -8,11 +8,15 @@ class Config::Parser
{
method read(Str $path --> Hash)
{
- Config::Exception::UnimplementedMethodException.new.throw();
+ Config::Exception::UnimplementedMethodException.new(
+ method => "read"
+ ).throw();
}
method write(Str $path, Hash $config --> Hash)
{
- Config::Exception::UnimplementedMethodException.new.throw();
+ Config::Exception::UnimplementedMethodException.new(
+ method => "write"
+ ).throw();
}
}