Skip to content

Wire database backup error

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