phpday 2027 - Call for Papers

GearmanWorker::error

(PECL gearman >= 0.5.0)

GearmanWorker::error — Get the last error encountered

Description

public function GearmanWorker::error(): string|false

Returns an error string for the last error encountered.

Parameters

This function has no parameters.

Return Values

A human readable error string, or false if there is no error message available.

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top