| 1 | package Zing::Error; | ||
| 2 | |||
| 3 | use 5.014; | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | use registry; | ||
| 9 | use routines; | ||
| 10 | |||
| 11 | use Data::Object::Class; | ||
| 12 | |||
| 13 | extends 'Data::Object::Exception'; | ||
| 14 | |||
| 15 | our $VERSION = '0.26'; # VERSION | ||
| 16 | |||
| 17 | 1; | ||
| 18 | |||
| 19 | =encoding utf8 | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Zing::Error - Exception Class | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | =head1 ABSTRACT | ||
| 28 | |||
| 29 | Generic Exception Class | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | use Zing::Error; | ||
| 36 | |||
| 37 | my $error = Zing::Error->new( | ||
| 38 | message => 'Oops', | ||
| 39 | ); | ||
| 40 | |||
| 41 | # die $error; | ||
| 42 | |||
| 43 | =cut | ||
| 44 | |||
| 45 | =head1 DESCRIPTION | ||
| 46 | |||
| 47 | This package provides a generic L<Zing> exception class. | ||
| 48 | |||
| 49 | =cut | ||
| 50 | |||
| 51 | =head1 INHERITS | ||
| 52 | |||
| 53 | This package inherits behaviors from: | ||
| 54 | |||
| 55 | L<Data::Object::Exception> | ||
| 56 | |||
| 57 | =cut | ||
| 58 | |||
| 59 | =head1 LIBRARIES | ||
| 60 | |||
| 61 | This package uses type constraints from: | ||
| 62 | |||
| 63 | L<Zing::Types> | ||
| 64 | |||
| 65 | =cut | ||
| 66 | |||
| 67 | =head1 AUTHOR | ||
| 68 | |||
| 69 | Al Newkirk, C<awncorp@cpan.org> | ||
| 70 | |||
| 71 | =head1 LICENSE | ||
| 72 | |||
| 73 | Copyright (C) 2011-2019, Al Newkirk, et al. | ||
| 74 | |||
| 75 | This is free software; you can redistribute it and/or modify it under the terms | ||
| 76 | of the The Apache License, Version 2.0, as elucidated in the L<"license | ||
| 77 | file"|https://github.com/iamalnewkirk/zing/blob/master/LICENSE>. | ||
| 78 | |||
| 79 | =head1 PROJECT | ||
| 80 | |||
| 81 | L<Wiki|https://github.com/iamalnewkirk/zing/wiki> | ||
| 82 | |||
| 83 | L<Project|https://github.com/iamalnewkirk/zing> | ||
| 84 | |||
| 85 | L<Initiatives|https://github.com/iamalnewkirk/zing/projects> | ||
| 86 | |||
| 87 | L<Milestones|https://github.com/iamalnewkirk/zing/milestones> | ||
| 88 | |||
| 89 | L<Contributing|https://github.com/iamalnewkirk/zing/blob/master/CONTRIBUTE.md> | ||
| 90 | |||
| 91 | L<Issues|https://github.com/iamalnewkirk/zing/issues> | ||
| 92 | |||
| 93 | =cut |