namespace NSwarm { enum { SWARM_SUCCESS = 0, SWARM_INVALID = -1, SWARM_ERROR_FILE_FOUND_NOT = -2, SWARM_ERROR_NULL_POINTER = -3, SWARM_ERROR_EXCEPTION = -4, SWARM_ERROR_INVALID_ARG = -5, SWARM_ERROR_INVALID_ARG1 = -6, SWARM_ERROR_INVALID_ARG2 = -7, SWARM_ERROR_INVALID_ARG3 = -8, SWARM_ERROR_INVALID_ARG4 = -9, SWARM_ERROR_CHANNEL_NOT_FOUND = -10, SWARM_ERROR_CHANNEL_NOT_READY = -11, SWARM_ERROR_CHANNEL_IO_FAILED = -12, SWARM_ERROR_CONNECTION_NOT_FOUND = -13, SWARM_ERROR_JOB_NOT_FOUND = -14, SWARM_ERROR_JOB = -15, SWARM_ERROR_CONNECTION_DISCONNECTED = -16, SWARM_ERROR_AGENT_NOT_FOUND = -17, } }