# Return Codes

Every subcommand returns one or more of the following return codes upon completion. See the help for each subcommand for the corresponding return codes for that subcommand.

Return Code | Numeric Code | Description
--- | --- | ---
NWSE_Success | 0 | Command successfully completed.
NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout | 2 | Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected | 3 | Unable to connect to the RPC server.
NWSE_InvalidArgument | 4 | One or more arguments were incorrect or invalid.
NWSE_NotFound | 5 | Entity (user, service, file, path, etc.) was not found.
NWSE_NoPermission | 6 | Not authorized to perform this operation.
NWSE_MissingArgument | 7 | Missing argument(s).
NWSE_NoMemory | 8 | Insufficient memory.
NWSE_Busy | 9 | Device or resource is busy.
NWSE_NotImplemented | 10 | Function not implemented.
NWSE_RPCConnected | 11 | RPC client already connected.
NWSE_RPCConnRefused | 12 | RPC connection refused.
NWSE_NoRouteToHost | 13 | No route to host (network down).
NWSE_HostDown | 14 | Host is down.
NWSE_UnknownError | 15 | Miscellaneous error not captured by other errors.
NWSE_GatewayOffNet | 16 | Gateway address is not on network.
NWSE_NetMaskIncorrect | 17 | An inappropriate netmask was specified.
NWSE_FileError | 18 | File open, missing, or read or write error occurred.
NWSE_Exist | 19 | Entity (user, service, etc.) already exists.
NWSE_NotRecognized | 20 | Request not understood.
NWSE_NotMounted | 21 | File system is not mounted.
NWSE_InvalidOpForState | 22 | Invalid operation for current state.
NWSE_TimedOut | 23 | Operation timed out.
NWSE_ServiceNotAvailable | 24 | Requested service is not available.
NWSE_DeviceError | 25 | Unable to read or write to the device.
NWSE_LimitExceeded | 26 | Limit has been exceeded.

Related Topics

System Management Commands