|
NAMEMail::BIMI::Role::HasError - Class to model an error VERSIONversion 3.20250130 DESCRIPTIONRole for handling validation errors and warnings METHODSserialize_errors()Serialize the errors property for cache storage deserialize_errors($value)De-serialize the errors property for cache storage add_error($code,$detail)Add an error with the given code and optional detail to the current operation. add_warning($detail)Add a warning which may be returned to a validator. add_error_object($error)Add an existing error object, or objects, to the current operation error_codesReturn an ArrayRef of current error codes filter_errors($error)Return error(s) matching the given error code REQUIRES
AUTHORMarc Bradshaw <marc@marcbradshaw.net> COPYRIGHT AND LICENSEThis software is copyright (c) 2020 by Marc Bradshaw. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|