Skip to content

Commit bb27e0a

Browse files
carragomgagle
authored andcommitted
Improve error codes readability (#23)
1 parent 3bab239 commit bb27e0a

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -642,25 +642,25 @@ The following errors are used internally but they are exposed in case you need t
642642

643643
The errors emitted by any `error` event of this module can contain a property named `code`. It contains the name of the error, which is one of the following:
644644

645-
_module_.ENOENT - File not found
646-
_module_.EACCESS - Access violation
647-
_module_.ENOSPC - Disk full or allocation exceeded
648-
_module_.EBADOP - Illegal TFTP operation
649-
_module_.ETID - Unknown transfer ID
650-
_module_.EEXIST - File already exists
651-
_module_.ENOUSER - No such user
652-
_module_.EDENY - The request has been denied
653-
_module_.ESOCKET - Invalid remote socket
654-
_module_.EBADMSG - Malformed TFTP message
655-
_module_.EABORT - Aborted
656-
_module_.EFBIG - File too big
657-
_module_.ETIME - Timed out
658-
_module_.EBADMODE - Invalid transfer mode
659-
_module_.EBADNAME - Invalid filename
660-
_module_.EIO - I/O error
661-
_module_.ENOGET - Cannot GET files
662-
_module_.ENOPUT - Cannot PUT files
663-
_module_.ERBIG - Request bigger than 512 bytes
664-
_module_.ECONPUT - Concurrent PUT request over the same file
665-
_module_.ECURPUT - The requested file is being written by another request
666-
_module_.ECURGET - The requested file is being read by another request
645+
* _module_.ENOENT - File not found
646+
* _module_.EACCESS - Access violation
647+
* _module_.ENOSPC - Disk full or allocation exceeded
648+
* _module_.EBADOP - Illegal TFTP operation
649+
* _module_.ETID - Unknown transfer ID
650+
* _module_.EEXIST - File already exists
651+
* _module_.ENOUSER - No such user
652+
* _module_.EDENY - The request has been denied
653+
* _module_.ESOCKET - Invalid remote socket
654+
* _module_.EBADMSG - Malformed TFTP message
655+
* _module_.EABORT - Aborted
656+
* _module_.EFBIG - File too big
657+
* _module_.ETIME - Timed out
658+
* _module_.EBADMODE - Invalid transfer mode
659+
* _module_.EBADNAME - Invalid filename
660+
* _module_.EIO - I/O error
661+
* _module_.ENOGET - Cannot GET files
662+
* _module_.ENOPUT - Cannot PUT files
663+
* _module_.ERBIG - Request bigger than 512 bytes
664+
* _module_.ECONPUT - Concurrent PUT request over the same file
665+
* _module_.ECURPUT - The requested file is being written by another request
666+
* _module_.ECURGET - The requested file is being read by another request

0 commit comments

Comments
 (0)