The R Project SVN R

Rev

Rev 11139 | Rev 32875 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11139 Rev 11667
Line 53... Line 53...
53
#define R_MSG_ob_nonsub	"object is not subsettable"
53
#define R_MSG_ob_nonsub	"object is not subsettable"
54
#define R_MSG_mode	"invalid \"mode\" of argument"
54
#define R_MSG_mode	"invalid \"mode\" of argument"
55
#define R_MSG_list_vec	"applies only to lists and vectors"
55
#define R_MSG_list_vec	"applies only to lists and vectors"
56
#define R_MSG_list_vec2	"() applied to non-(list or vector)"
56
#define R_MSG_list_vec2	"() applied to non-(list or vector)"
57
 
57
 
58
/* Packaged Error & Warning Messages ==> ./R_ext/Error.h */
58
/*---- Packaged Error & Warning Messages ---- 
-
 
59
 *---- ================================= ----*/
-
 
60
 
-
 
61
/* ---> Handling & I18n 
-
 
62
 * via ErrorMessage() and WarningMessage() in ../../main/errors.c */
-
 
63
 
-
 
64
typedef enum {
-
 
65
    /* Argument list length and type errors */
-
 
66
 
-
 
67
    ERROR_NUMARGS = 1,
-
 
68
    ERROR_ARGTYPE = 2,
-
 
69
    ERROR_INCOMPAT_ARGS = 3,
-
 
70
 
-
 
71
    /* General type and length incompatibilities */
-
 
72
 
-
 
73
    ERROR_TSVEC_MISMATCH = 100,
-
 
74
 
-
 
75
    ERROR_UNIMPLEMENTED	= 9998,
-
 
76
    ERROR_UNKNOWN = 9999
-
 
77
} R_ERROR;
-
 
78
 
-
 
79
 
-
 
80
typedef enum {
-
 
81
 
-
 
82
    WARNING_coerce_NA	= 101,
-
 
83
    WARNING_coerce_INACC= 102,
-
 
84
    WARNING_coerce_IMAG = 103,
-
 
85
 
-
 
86
    WARNING_UNKNOWN = 9999
-
 
87
} R_WARNING;
-
 
88
 
59
 
89
 
60
#endif
90
#endif
61
 
91