NAME
Math::NLopt::Exception - Basic Exception Classes
VERSION
version 0.12
SYNOPSIS
use Math::NLopt::Exception;
Math::NLopt::Exception::Failure->throw( "error messsage" ) );
DESCRIPTION
This is a very simple exception class used by Math::NLopt. Importing this module provides the following classes, which correspond to NLopt failures and user callback errors.
Math::NLopt::Exception::Failure
Math::NLopt::Exception::ForcedStop
Math::NLopt::Exception::ImproperType
Math::NLopt::Exception::InternalError
Math::NLopt::Exception::InvalidArgs
Math::NLopt::Exception::InvalidDimensions
Math::NLopt::Exception::InvalidReturn
Math::NLopt::Exception::InvalidUse
Math::NLopt::Exception::MissingParameter
Math::NLopt::Exception::OutOfMemory
Math::NLopt::Exception::RoundoffLimited
CLASS METHODS
new
$object = Math::NLopt::Exception->new( $message );
Construct an object containing the following method
throw
$class->throw( ... );
Equivalent to
croak( $class->new( ...) )
METHODS
message
$message = $object->message
retrieve an object's message
OVERLOADS
The exception object overloads the stringify operation using the "message" method.
SUPPORT
Bugs
Please report any bugs or feature requests to bug-math-nlopt@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=Math-NLopt
Source
Source is available at
https://codeberg.org/djerius/p5-Math-NLopt
and may be cloned from
https://codeberg.org/djerius/p5-Math-NLopt.git
SEE ALSO
Please see those modules/websites for more information related to this module.
AUTHOR
Diab Jerius <djerius@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2024 by Smithsonian Astrophysical Observatory.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007