error_code = $error_code; parent::__construct( $error_message, $http_status_code ); } /** * Returns the error code. * * @return string */ public function getErrorCode() { return $this->error_code; } }