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