NAME

FTN::Crypt::Error - Error processing for the FTN::Crypt module.

SYNOPSIS

Inherit your class from FTN::Crypt::Error. Then, to set error message:

Class->set_error($message)
$obj->set_error($message)

To get error message:

Class->error
$obj->error

new()

Constructor.

Parameters:

None.

Returns:

Created object.

set_error()

Set error message.

Parameters:

  • Error message.

Returns:

None.

error()

Get error message.

Parameters:

None.

Returns:

Error message.

AUTHOR

Petr Antonov, <pietro@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2019 by Petr Antonov

This library is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses at https://opensource.org/licenses/Artistic-1.0, and http://www.gnu.org/licenses/gpl-2.0.html.

This package is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose.