Commit 3c92854d authored by Lucas Russo's avatar Lucas Russo

src/dev_io/dev_io_err.*: add new invalid socket error

parent 25ce24a8
......@@ -23,7 +23,8 @@ static const char *devio_err [DEVIO_ERR_END] =
[DEVIO_ERR_INTERRUPTED_POLLER] = "Poller interrupted. zeroMQ context was terminated or received interrupt signal",
[DEVIO_ERR_BAD_MSG] = "Malformed message received",
[DEVIO_ERR_TERMINATED] = "Terminated devio instance",
[DEVIO_ERR_SMIO_DESTROY] = "Could not destroy sm_io instance"
[DEVIO_ERR_SMIO_DESTROY] = "Could not destroy sm_io instance",
[DEVIO_ERR_INV_SOCKET] = "Invalid socket reference"
};
/* Convert enumeration type to string */
......
......@@ -25,6 +25,7 @@ enum _devio_err_e
DEVIO_ERR_BAD_MSG, /* Malformed message received */
DEVIO_ERR_TERMINATED, /* Terminated devio instance */
DEVIO_ERR_SMIO_DESTROY, /* Could not destroy sm_io instance */
DEVIO_ERR_INV_SOCKET, /* Invalid socket reference */
DEVIO_ERR_END /* End of enum marker */
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment