NAME
DAIA::Error - An error message
VERSION
version 0.35
SYNOPSIS
$err = error() # errno = 0
$err = error( $errno [, $lang => $content ] )
$err = error( $errno, $content [, lang => $lang ] )
$err = error( $content [, lang => $lang ], errno => $errno )
$err = error( $lang => $content, errno => $errno )
$err = error( $lang => $content, $errno )
$err->errno( 42 );
DESCRIPTION
Error messages are special kind of DAIA::Message objects, that have an error number (errno
). Error numbers are integer values. If you set the error number some non-number or undef
, the error message becomes a normal message object. In DAIA/RDF error messages end up as normal literal messages.
- content
-
The message as Unicode string. This may also be the empty string.
- lang
-
The language of the error message string.
- errno
-
An integer value error code. The default value is zero.
AUTHOR
Jakob Voss
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jakob Voss.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 81:
Unknown directive: =head