Committer: nnikulochkina
LJSUP-13074: Implement Paid Repost lifecycleU trunk/cgi-bin/LJ/Pay/Wallet/Error.pm
Modified: trunk/cgi-bin/LJ/Pay/Wallet/Error.pm =================================================================== --- trunk/cgi-bin/LJ/Pay/Wallet/Error.pm 2012-07-31 08:14:47 UTC (rev 12374) +++ trunk/cgi-bin/LJ/Pay/Wallet/Error.pm 2012-07-31 08:19:42 UTC (rev 12375) @@ -354,6 +354,16 @@ return $text; } +=head2 as_string + +Wrapper around as_string() for using LJ::Wallet::Error like LJ::Error. + +=cut + +sub die_string { + return $_[0]->as_string; +} + 1; =head1 SEE ALSO