Fey::Exceptions(3)

NAME
Fey::Exceptions - Defines exceptions used in the core Fey classes

VERSION
version 0.44

SYNOPSIS
  use Fey::Exceptions qw( param_error );

DESCRIPTION
This module defines the exceptions which are used by the core Fey classes.

EXCEPTIONS
Loading this module defines the exception classes using "Exception::Class". This module also exports subroutines which can be used as a shorthand to throw a specific type of exception.

  Fey::Exception
This is the base class for other exception classes, and should not be used directly.

  Fey::Exception::ObjectState
object_state_error()

This exception indicates that the object is in a state that means it cannot execute a certain method.

  Fey::Exception::Params
param_error()

This exception indicates that there was a problem with the parameters passed to a method.

  Fey::Exception::VirtualMethod
virtual_method_error()

This exception indicates that a virtual method was not overridden in the subclass on which it was called.

BUGS
See Fey for details on how to report bugs.

Bugs may be submitted at <https://github.com/ap/Fey/issues>.

SOURCE
The source code repository for Fey can be found at <https://github.com/ap/Fey>.

AUTHOR
Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 - 2025 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.