public function __construct($message = null, $error_data = null, $previous = null) { parent::__construct($message, $this->code, $previous); $this->error_data = $error_data; }