Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error Codes for N: Device

The N: network device returns the following error codes. Error code 144 indicates a critical protocol-level error; when this code is reported via SIO, the actual error can be retrieved from byte 4 of the STATUS response.

Protocol Errors

CodeDescription
131Protocol is in write-only mode (attempted read on a write-only connection)
132Invalid command sent to protocol
133No protocol attached (connection not open or URL scheme not recognized)
135Protocol is in read-only mode (attempted write on a read-only connection)
138Timed out
144Critical error occurred; retrieve the actual error code from byte 4 of STATUS
146Command not implemented by the current protocol handler

File and Path Errors

CodeDescription
151File exists (target already present during a create or rename)
162No space on device
165Invalid devicespec (malformed URL or device specification)
167Access denied
170File not found (emitted by filesystem protocol adaptors)

Network Errors

CodeDescription
200Connection refused (ECONNREFUSED)
201Network unreachable (ENETUNREACH)
202Connection timeout (ETIMEDOUT)
203Network is down (ENETDOWN)
204Connection reset during read/write (ECONNRESET)
205Connection in progress (EAGAIN)
206Address in use (EADDRINUSE)
207Not connected
208Server not running
209No connection waiting (no pending client on a listening socket)
210Service not available
211Connection aborted
212Invalid username or password

Memory Errors

CodeDescription
255Could not allocate receive or transmit buffers