WireDatabaseBackup::error() method
Add an error and return last error
Usage
// basic usage
$string = $backup->error();
// usage with all arguments
$string = $backup->error(string $str = '');Arguments
| Name | Type(s) | Description |
|---|---|---|
$str (optional) | string | If omitted, no error is added |
Return value
string
$backup methods and properties
API reference based on ProcessWire core version 3.0.253