Pipeline::Error::AsyncResults - exception thrown from asynchronous segments


Pipeline documentation Contained in the Pipeline distribution.

Index


Code Index:

NAME

Top

Pipeline::Error::AsyncResults - exception thrown from asynchronous segments

SYNOPSIS

Top

  use Pipeline::Error::AsyncResults;

  throw Pipeline::Error::AsyncResults;

DESCRIPTION

Top

Pipeline::Error::AsyncResults inherits from Error and will be thrown whenever results back from asynchronous segments do not match the protocol expected.

SEE ALSO

Top

Pipeline::Segment::Async Error

AUTHOR

Top

James A. Duncan <jduncan@fotango.com>

COPYRIGHT

Top


Pipeline documentation Contained in the Pipeline distribution.

package Pipeline::Error::AsyncResults;

use strict;

use Error;
use base qw( Error );

our $VERSION = "3.12";

sub new {
  my $class = shift;

  my $caller = caller(1);
  my $text = "asynchronous handler returned unexpected results";

  local $Error::Depth = $Error::Depth + 1;
  local $Error::Debug = 1;  # Enables storing of stacktrace

  $class->SUPER::new(-text => $text, @_); 
}

1;