error("invalid payload"); * * @param string $error * @throws GoridgeException */ public function error(string $error): void; /** * Terminate the process. Server must automatically pass task to the next available process. * Worker will receive stop command after calling this method. * * Attention, you MUST use continue; after invoking this method to let rr to properly stop worker. */ public function stop(): void; }