We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd56a44 commit ce5f958Copy full SHA for ce5f958
1 file changed
lib/VWF/Config.pm
@@ -120,7 +120,7 @@ sub new
120
my $params = Params::Get::get_params(undef, @_);
121
122
if (exists $params->{logger} && defined $params->{logger}) {
123
- Throw Error::Simple('logger must be an object with debug method')
+ throw Error::Simple('logger must be an object with debug method')
124
unless ref($params->{logger}) && $params->{logger}->can('debug');
125
}
126
@@ -129,7 +129,7 @@ sub new
129
130
131
if(exists $params->{config} && defined $params->{config}) {
132
- Throw Error::Simple('config must be a hash reference') unless ref($params->{config}) eq 'HASH';
+ throw Error::Simple('config must be a hash reference') unless ref($params->{config}) eq 'HASH';
133
134
135
my $class = ref($proto) || $proto;
0 commit comments