System Errors
Node.js generates system errors when exceptions occur within its runtime environment. These usually occur when an application violates an operating system constraint.
For example, a system error will occur if an application attempts to read a file that does not exist.
Below are the system errors commonly encountered when writing a Node.js program
- EACCES - Permission denied
- EADDRINUSE - Address already in use
- ECONNRESET - Connection reset by peer
- EEXIST - File exists
- EISDIR - Is a directory
- EMFILE - Too many open files in system
- ENOENT - No such file or directory
- ENOTDIR - Not a directory
- ENOTEMPTY - Directory not empty
- ENOTFOUND - DNS lookup failed
- EPERM - Operation not permitted
- EPIPE - Broken Pipe
- ETIMEDOUT - Operation timed out
Visit the following resources to learn more: