NAME

PSGI::Hector::Base - Base Hector class

SYNOPSIS

my $r = $hector->getRequest();
my $params = $r->getParameters();

DESCRIPTION

Abstract class used in all other PSGI::Hector classes.

METHODS

setError($mesage)

$obj->setError($message);

Sets an error on the object, the message can be retrieved later.

getError()

$error = $obj->getError();

Retrieve a previously set error message. This method is used to determine the object's error state.

Notes

Author

MacGyveR <dumb@cpan.org>

Development questions, bug reports, and patches are welcome to the above address.

See Also

Copyright

Copyright (c) 2017 MacGyveR. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.