Apache2::REST::ErrorOutputHandler


Apache2-REST documentation Contained in the Apache2-REST distribution.

Index


Code Index:

handle

Handles an error and do something with the response if needed.


Apache2-REST documentation Contained in the Apache2-REST distribution.

package Apache2::REST::ErrorOutputHandler ;
use strict ;


sub new{
    my ($class) = @_ ;
    my $self = {} ;
    return bless $self , $class ;
}


sub handle{
    my ( $self , $error , $response , $request  ) = @_ ;
    die "Implement this\n" ;    
}


1;