The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME Data::Processor::Error::Instance - An Error

METHODS =head2 new

  my $error = Data::Processor::Error::Instance->new(
                message => 'This is an error.',
                path    => 'root->key->another->key',
                caller  => "got called by " . caller();
            );

stringify We 'use overload ('""' => \&stringify)' to call this routine when you print an error. Does not take arguments other than $self.