summaryrefslogtreecommitdiff
path: root/fml/lib/Netlib/Utils.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-01-24 06:11:31 +0000
committerfukachan <fukachan>2001-01-24 06:11:31 +0000
commite6a9111ca4122b24ebbc7d33bc2fcf607155a9db (patch)
treedf2a4e618111f9aa39c78e644c414836bb4eceb4 /fml/lib/Netlib/Utils.pm
parentc3c2868fe6a61ee3a5c7f3a6465b5ad1259869ea (diff)
downloadfml8-e6a9111ca4122b24ebbc7d33bc2fcf607155a9db.tar.gz
fml8-e6a9111ca4122b24ebbc7d33bc2fcf607155a9db.tar.bz2
fml8-e6a9111ca4122b24ebbc7d33bc2fcf607155a9db.zip
canonicalize error handlings to error() error_reason() pair
Diffstat (limited to 'fml/lib/Netlib/Utils.pm')
-rw-r--r--fml/lib/Netlib/Utils.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/Netlib/Utils.pm b/fml/lib/Netlib/Utils.pm
index facda455..5bee5a3a 100644
--- a/fml/lib/Netlib/Utils.pm
+++ b/fml/lib/Netlib/Utils.pm
@@ -24,7 +24,7 @@ require Exporter;
$LogFunctionPointer
$SmtpLogFunctionPointer
- _error_why
+ _error_reason
error
error_reset
@@ -81,7 +81,7 @@ sub _smtplog
}
-sub _error_why
+sub _error_reason
{
my ($self, $mesg) = @_;
$self->{'_error_reason'} = $mesg;
@@ -91,7 +91,7 @@ sub _error_why
sub error_reason
{
my ($self, $mesg) = @_;
- $self->_error_why($mesg);
+ $self->_error_reason($mesg);
}