error = $error; parent::__construct( $message, $code, $previous ); } public function getError() { return $this->error; } }