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