EclipseReporter::paintError PHP Метод

paintError() публичный Метод

Stash the first error. Clicking the test item goes to first error.
public paintError ( string $message )
$message string Test message, but we only wnat the first.
    public function paintError($message)
    {
        if (!$this->fail && !$this->error) {
            $this->error = true;
            $this->message = self::escapeVal($message);
            $this->listener->write('{status:"error",message:"' . $this->message . '",group:"' . $this->group . '",case:"' . $this->case . '",method:"' . $this->method . '"}');
        }
    }