Return all error messages that occurred
Usage
// basic usage
$array = $backup->errors();
// usage with all arguments
$array = $backup->errors(bool $reset = false);
Arguments
Name | Type(s) | Description |
---|---|---|
reset (optional) | bool | Specify true to clear out existing errors or omit just to return error messages |
Return value
array
$backup methods and properties
API reference based on ProcessWire core version 3.0.236