Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Data::Util::Error(3)  User Contributed Perl Documentation Data::Util::Error(3)

NAME
       Data::Util::Error - Deals with class-specific error handlers in
       Data::Util

SYNOPSIS
	       package Foo;
	       use Data::Util::Error sub{ Foo::InvalidArgument->throw_error(@_)	};
	       use Data::Util qw(:validate);

	       sub f{
		       my $x_ref = array_ref shift; # Foo::InvalidArgument is thrown if	invalid
		       # ...
	       }

Functions
       Data::Util::Error->fail_handler()
       Data::Util::Error->fail_handler($handler)
       Data::Util::Error::croak(@args)

SEE ALSO
       Data::Util.

perl v5.24.1			  2012-10-20		  Data::Util::Error(3)

NAME | SYNOPSIS | Functions | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Data::Util::Error&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help