POEx::WorkerPool::Error::JobError - An error class indicating something failed with the job


POEx-WorkerPool documentation Contained in the POEx-WorkerPool distribution.

Index


Code Index:

NAME

Top

POEx::WorkerPool::Error::JobError - An error class indicating something failed with the job

VERSION

Top

version 1.102740

DESCRIPTION

Top

This exception is thrown when there is an irrecoverable error with a job

PUBLIC_ATTRIBUTES

Top

job

 is: ro, isa: DoesJob

This contains the job that errored

job_status

 is:ro, isa: JobStatus

This contains the useful information captured from the try block around the job during execution of the previous step

AUTHOR

Top

Nicholas R. Perez <nperez@cpan.org>

COPYRIGHT AND LICENSE

Top


POEx-WorkerPool documentation Contained in the POEx-WorkerPool distribution.

package POEx::WorkerPool::Error::JobError;
BEGIN {
  $POEx::WorkerPool::Error::JobError::VERSION = '1.102740';
}

#ABSTRACT: An error class indicating something failed with the job

use MooseX::Declare;

class POEx::WorkerPool::Error::JobError extends POEx::WorkerPool::Error {
    use POEx::WorkerPool::Types(':all');


    has job => ( is => 'ro', isa => DoesJob, required => 1 ); 
    
    
    has job_status => ( is => 'ro', isa => JobStatus, required => 1 ); 
}

1;



__END__