SVN::Web::X

Exceptions for SVN::Web
Download

SVN::Web::X Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Nik Clayton
  • Publisher web site:
  • http://search.cpan.org/~nikc/Test-Net-Connect-0.03/lib/Test/Net/Connect.pm

SVN::Web::X Tags


SVN::Web::X Description

Exceptions for SVN::Web SVN::Web::X is a Perl module that contains exceptions for SVN::Web.SYNOPSIS use SVN::Web::X; ... SVN::Web::X->throw(error => '(error message %1)', vars => );SVN::Web::X implements exceptions for SVN::Web. Derived from Exception::Class, It provides a simple mechanism for throwing exceptions, catching them, and ensuring that friendly, localised error messages are generated and sent to the user's browser.USAGE IN SVN::Web ACTIONSIf an SVN::Web action that you are writing needs to stop processing and raise an error, throw an SVN::Web::X exception.throw() takes a hash with two mandatory keys.error A string describing the error. This string should be short, and key to a longer internationalised message. This string may contain placeholders; %1, %2, %3, and so on. These will be replaced by the values of the variables passed in the vars key. By convention this string should be enclosed in parentheses, ( and ). This helps make them stand out in the interface, if localised versions of the error message have not yet been written.vars An array reference. The first entry in the array will replace the %1 placeholder in error, the second entry will replace the %2 placeholder, and so on. If there are no placeholders then pass a reference to an empty array. Requirements: · Perl


SVN::Web::X Related Software