Mason::Exceptions(3pm)

Mason::Exceptions3pm

Exception objects thrown by mason

Overview

This module creates the exception classes used by Mason. Mason only throws exception objects to communicate something specific to code catching the exception; otherwise it is content to die with a string.

Exceptions

Mason::Exception::Abort

The "$m->abort" method was called.

Exceptions in this class contain the field "aborted_value".

Mason::Exception::TopLevelNotFound

The requested top level component passed to exec() could not be found. In a web environment, this could be used to determine that a 404 should be returned.

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9–10
  4. 11
  5. 12–13

Author

Jonathan Swartz <[email protected]>

From libmason-perl 2.24-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.