|
NAMEVenus::Fault - Fault Class ABSTRACTFault Class for Perl 5 SYNOPSISpackage main; use Venus::Fault; my $fault = Venus::Fault->new; # $fault->throw; DESCRIPTIONThis package represents a generic system error (exception object). METHODSThis package provides the following methods: explainexplain() (string) The explain method returns the error message and is used in stringification operations. Since 1.80
framesframes() (arrayref) The frames method returns the compiled and stashed stack trace data. Since 1.80
throwthrow(string $message) (Venus::Fault) The throw method throws an error if the invocant is an object, or creates an error object using the arguments provided and throws the created object. Since 1.80
tracetrace(number $offset, number $limit) (Venus::Fault) The trace method compiles a stack trace and returns the object. By default it skips the first frame. Since 1.80
OPERATORSThis package overloads the following operators:
AUTHORSAwncorp, "awncorp@cpan.org" LICENSECopyright (C) 2022, Awncorp, "awncorp@cpan.org". This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
|