source: git/MP/MP/MP_Error.c @ 1d0eb7

fieker-DuValspielwiese
Last change on this file since 1d0eb7 was 9e2789, checked in by Olaf Bachmann <obachman@…>, 26 years ago
* as we go along git-svn-id: file:///usr/local/Singular/svn/trunk@2654 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 3.8 KB
Line 
1/****************************************************************
2 *                                                                 
3 *                                                                 
4 *                    MP version 1.1.2:  Multi Protocol
5 *                    Kent State University, Kent, OH
6 *                 Authors:  S. Gray, N. Kajler, P. Wang
7 *          (C) 1993, 1994, 1995, 1996, 1997 All Rights Reserved
8 *
9 *                                 NOTICE
10 *
11 *  Permission to use, copy, modify, and distribute this software and
12 *  its documentation for non-commercial purposes and without fee is
13 *  hereby granted provided that the above copyright notice appear in all
14 *  copies and that both the copyright notice and this permission notice
15 *  appear in supporting documentation.
16 * 
17 *  Neither Kent State University nor the Authors make any representations
18 *  about the suitability of this software for any purpose.  The MP Library
19 *  is distributed in the hope that it will be useful, but is provided  "as
20 *  is" and without any warranty of any kind and without even the implied 
21 *  warranty of merchantability or fitness for a particular purpose.
22 *
23 *
24 *   IMPLEMENTATION FILE:  MP_Error.c
25 *                                                               
26 *          The error handling routines and a definition
27 *        for the global variable MP_Status which is set after
28 *        almost every routine.
29 *                                                               
30 *  The MP Library is distributed in the hope that it will be useful,
31 *  but without any warranty of any kind and without even the implied
32 *  warranty of merchantability or fitness for a particular purpose.
33 *
34 *  Change Log:
35 *       July 7, 1995  SG - updated MP_errlist[] to reflect newtypes
36 *                          in MP-1.0 and coelesced a few error types.
37 *                          Also made the necessary changes to
38 *                          MP_Error.c, MP_Put.c, MP_Get.c
39 *       July 21, 1995 SG - more additions/corrections.  Checked against
40 *                          MP_Error.h for accuracy (enums with corresponding
41 *                          error messages)
42 *       September 11, 1995 SG - Added MP_LogEvent().
43 *       November 20, 1995 SG - added MP_Failure and MP_Success to be
44 *                              consistent with the enums in MP_Error.h.
45 *
46 ***************************************************************************/
47
48#ifndef lint
49static char vcid[] = "@(#) $Id: MP_Error.c,v 1.3 1998-11-10 08:22:10 obachman Exp $";
50#endif /* lint */
51
52#include "MP.h"
53
54char *MP_errlist[]={
55        "MP: MP_Failure",
56        "MP: MP_Success",
57        "MP: Unknown type",
58        "MP: Unknown annotation",
59        "MP: Unknown required annotation",
60        "MP: Null link",   
61        "MP: Null transport device",
62        "MP: Can't open file link",
63        "MP: Can't make connection",
64        "MP: Can't allocate memory", 
65        "MP: Can't convert", 
66        "MP: Value is out of the legal range for this type",
67        "MP: Can't put node header", 
68        "MP: Can't put the requested node packet",
69        "MP: Can't put data packet",
70        "MP: Can't put annotation ", 
71
72        "MP: Can't get node header", 
73        "MP: Can't get node packet",
74        "MP: Can't get data packet",
75        "MP: Can't get annotation ", 
76
77        "MP: Packet type not of the type requested",
78        "MP: Can't convert, bad string",
79        "MP: Can't write link",
80        "MP: Can't read link",
81        "MP: Identifier is not common (longer than one character)",
82        "MP: Illegal element type for a Basic Vector",
83        "MP: Can't put/get dummy bignum",
84        "MP: Can't skip message (end of stream)",
85        "MP: Can't init message (end of stream)",
86        "MP: Error of external application",
87        };
88
89
Note: See TracBrowser for help on using the repository browser.