private function __construct($message, $error, $spec) { $this->message = $message; $this->error = $error; $this->spec = $spec; }