Skip to content
Snippets Groups Projects
Commit 44395619 authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

Added the following CASTOR exception:

    castor::exception::InvalidNbArguments
parent bbc71c1d
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ char *sys_serrlist[SEMAXERR-SEBASEOFF+2]=
"Missing operand",
"Mismatch",
"Request failed",
"Invalid number of arguments",
"BAD ERROR NUMBER"
};
......
......@@ -79,8 +79,9 @@
#define SEMISSINGOPER SEBASEOFF+45 /* Missing operand */
#define SEMISMATCH SEBASEOFF+46 /* Mismatch */
#define SEREQUESTFAILED SEBASEOFF+47 /* Request failed */
#define SEINVALIDNBARGS SEBASEOFF+48 /* Invalid number of arguments */
#define SEMAXERR SEBASEOFF+47 /* Maximum error number */
#define SEMAXERR SEBASEOFF+48 /* Maximum error number */
#define SERRNO (serrno - SEBASEOFF) /* User convenience */
/*
......
......@@ -187,6 +187,18 @@ The following error values might be returned by any package:
.TP
.B SEPYTHONEXEC
(1044) Failed to execute Python
.TP
.B SEMISSINGOPER
(1045) Missing operand
.TP
.B SEMISMATCH
(1046) Mismatch
.TP
.B SEREQUESTFAILED
(1047) Request failed
.TP
.B SEINVALIDNBARGS
(1048) Invalid number of arguments
.SH COPYTAPE ERRORS
None yet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment