// NewErrEarlyHints returns a new ErrEarlyHints with custom error message
NewErrEarlyHints returns a new ErrEarlyHints with custom error message
// NewErrEarlyHints returns a new ErrEarlyHints with custom error message
func NewErrEarlyHints(message string) error {
	return &ErrorWithStatusCode{
		error:      errors.New(message),
		statusCode: http.StatusEarlyHints,
	}
}
func NewErrEarlyHints ( message string ) error { return & ErrorWithStatusCode { error : errors . New ( message ) , statusCode : http . StatusEarlyHints , } }
NewErrEarlyHints returns a new ErrEarlyHints with custom error message
NewErrEarlyHints returns a new ErrEarlyHints with custom error message