журнал журнал (shhh) wrote in changelog,
журнал журнал
shhh
changelog

[ljcom] r12375: LJSUP-13074: Implement Paid Repost lifec...

Committer: nnikulochkina
LJSUP-13074: Implement Paid Repost lifecycle
U   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

Tags: ljcom, nikulochkina, nnikulochkina, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments