blob: 774b9ad7bb8ab1700ff4554b74e562f260d17d03 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file was auto-generated by the vanadium vdl tool.
// Source: errors.vdl
package version
import (
// VDL system imports
"v.io/v23/context"
"v.io/v23/i18n"
"v.io/v23/verror"
)
var (
ErrNoCompatibleVersion = verror.Register("v.io/v23/rpc/version.NoCompatibleVersion", verror.NoRetry, "{1:}{2:} There were no compatible versions between ({3},{4}) and ({5},{6}).")
)
func init() {
i18n.Cat().SetWithBase(i18n.LangID("en"), i18n.MsgID(ErrNoCompatibleVersion.ID), "{1:}{2:} There were no compatible versions between ({3},{4}) and ({5},{6}).")
}
// NewErrNoCompatibleVersion returns an error with the ErrNoCompatibleVersion ID.
func NewErrNoCompatibleVersion(ctx *context.T, lmin uint64, lmax uint64, rmin uint64, rmax uint64) error {
return verror.New(ErrNoCompatibleVersion, ctx, lmin, lmax, rmin, rmax)
}