ePages 7.23.0 - DE_EPAGES/MeinPaket/API/UIErrorCollector.pm

Package DE_EPAGES::MeinPaket::API::UIErrorCollector

provides methods in order to prepare meaningful error messages from warnings

Functions

getErrors
new
processError

getErrors

gets a list of all collected errors that are prepared for UI.

Syntax
getErrors();
Return
(refarray)
list of all collected errors that are prepared for UI.

new

constructor

Syntax
new( );
Return
$self (DE_EPAGES::PayPalPlus::API::UIErrorCollector)
self

processError

prepares a UI error representation for the passed error and stores it in case its a proper allyouneed error.

Syntax
processError( $Error );
Input
$Warning (DE_EPAGES::Core::API::Warning)
warning object to create UI error from