Branch: Tag:

2004-04-20

2004-04-20 13:56:26 by Martin Nilsson <mani@lysator.liu.se>

Let it be known that Error is Error.Generic

Rev: src/error.c:1.122

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: error.c,v 1.121 2004/04/18 02:19:38 mast Exp $ + || $Id: error.c,v 1.122 2004/04/20 13:56:26 nilsson Exp $   */      #define NO_PIKE_SHORTHAND
23:   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.121 2004/04/18 02:19:38 mast Exp $"); + RCSID("$Id: error.c,v 1.122 2004/04/20 13:56:26 nilsson Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
446: Inside #if 1
   *! description of an exception.    *!    *! @param exception -  *! Something that was thrown. Usually an @[Error] object, or +  *! Something that was thrown. Usually an @[Error.Generic] object, or    *! an array with the following content:    *! @array    *! @elem string msg
469: Inside #if 1
  /*! @endclass    */    - /*! @class Error + /*! @module Error    */    -  + /*! @class Generic +  *! Class for exception objects for errors of unspecified type. +  */ +    #define ERR_DECLARE   #include "errors.h"   
638:   /*! @endclass    */    + /*! @endmodule +  */ +    #ifdef ERROR_DEBUG   #define DWERROR(X) fprintf X   #else /* !ERROR_DEBUG */