blob: 801981199ce0eb048942b4dc73a9940158b6ce21 [file] [log] [blame]
Suharsh Sivakumarc51e0142015-09-21 17:19:16 -07001// Copyright 2015 The Vanadium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package flow
6
7// These messages are constructed so as to avoid embedding a component/method name
8// and are thus more suitable for inclusion in other verrors.
9// This practice of omitting {1}{2} should be used throughout the flow implementations
10// since all of their errors are intended to be used as arguments to higher level errors.
11// TODO(suharshs,toddw): Allow skipping of {1}{2} in vdl generated errors.
12error (
13 WrongObjectInContext(typ string) {"en":
14 "context passed to method of {typ} object, but that object is not attached to the context."}
15)