| // 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. |
| ErrListenerClosed = verror.Register("v.io/x/ref/runtime/internal/lib/xwebsocket.ListenerClosed", verror.NoRetry, "{1:}{2:} listener is already closed") |
| i18n.Cat().SetWithBase(i18n.LangID("en"), i18n.MsgID(ErrListenerClosed.ID), "{1:}{2:} listener is already closed") |
| // NewErrListenerClosed returns an error with the ErrListenerClosed ID. |
| func NewErrListenerClosed(ctx *context.T) error { |
| return verror.New(ErrListenerClosed, ctx) |