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