There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Apache2::REST::ErrorOutputRegistry - Manages instances of ErrorOutputHandler

instance

Returns the singleton instance of the registry.

registerEO

Registers an instance of ErrorOutputHandler

getOutput

Returns the ErrorOutputHandler registered with key

Usage:

Apache2::REST::ErrorOutputRegister->instance()->getOutput('both') ; # For instance.