pike.git/
src/
errors.h
Branch:
Tag:
Non-build tags
All tags
No tags
2011-03-12
2011-03-12 20:53:36 by Martin Stjernholm <mast@lysator.liu.se>
2ac499c0aea52c81f98e801c367eaf8126c8e336 (
8
lines) (+
7
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Throw proper error objects from decode_value.
Also fixed some confusing error messages.
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
||
$Id: errors.h,v 1.40 2008/06/29 12:37:10 nilsson Exp $
+
||
$Id$
*/ #ifdef ERR_DECLARE
155:
ERR_VAR(struct pike_string *, tStr, PIKE_T_STRING,permission_type) )
+
DECLARE_ERROR (decode, Decode,
+
ERR_INHERIT (generic),
+
ERR_VAR (struct pike_string *, tStr, PIKE_T_STRING, decode_string)
+
)
+
DECLARE_PURE_ERROR( cpp, Cpp, ERR_INHERIT(generic)