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

Added the FailedToExecutePython exception and corrected the comments of

the InvalidConfiguration exception.

This commit works towards implementing the following RFE:

bug #68020: RFE: The mighunter should gracefully stop when it encounters an invalid migration-policy or stream-policy function-name
parent 01f52235
Branches
Tags
No related merge requests found
......@@ -64,6 +64,7 @@ char *sys_serrlist[SEMAXERR-SEBASEOFF+2]=
"No port in range",
"No value",
"Invalid configuration",
"Failed to execute Python",
"BAD ERROR NUMBER"
};
......
......@@ -77,8 +77,9 @@
#define SENOPORTINRANGE SEBASEOFF+41 /* No port in range */
#define SENOVALUE SEBASEOFF+42 /* No value */
#define SEINVALIDCONFIG SEBASEOFF+43 /* Invalid configuration */
#define SEPYTHONEXEC SEBASEOFF+44 /* Failed to execute Python */
#define SEMAXERR SEBASEOFF+43 /* Maximum error number */
#define SEMAXERR SEBASEOFF+44 /* Maximum error number */
#define SERRNO (serrno - SEBASEOFF) /* User convenience */
/*
......
......@@ -184,6 +184,9 @@ The following error values might be returned by any package:
.TP
.B SEINVALIDCONFIG
(1043) Invalid configuration
.TP
.B SEPYTHONEXEC
(1044) Failed to execute Python
.SH COPYTAPE ERRORS
None yet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment