[TOC=2,3]
### EPERM
##### Operation not permitted
An attempt was made to perform an operation that requires appropriate privileges.
### ENOENT
##### No such file or directory
Commonly raised by fs operations; a component of the specified pathname does not exist -- no entity (file or directory) could be found by the given path.
### EACCES
##### Permission denied
An attempt was made to access a file in a way forbidden by its file access permissions.
### EEXIST
##### File exists
An existing file was the target of an operation that required that the target not exist.
### ENOTDIR
##### Not a directory
A component of the given pathname existed, but was not a directory as expected. Commonly raised by fs.readdir.
### EISDIR
##### Is a directory
An operation expected a file, but the given pathname was a directory.
### EMFILE
##### Too many open files in system
Maximum number of file descriptors allowable on the system has been reached, and requests for another descriptor cannot be fulfilled until at least one has been closed.
Commonly encountered when opening many files at once in parallel, especially on systems (in particular, OS X) where there is a low file descriptor limit for processes. To remedy a low limit, run ulimit -n 2048 in the same sh that will run the Node.js process.
### EPIPE
##### Broken pipe
A write on a pipe, socket, or FIFO for which there is no process to read the data. Commonly encountered at the net and http layers, indicative that the remote side of the stream being written to has been closed.
### EADDRINUSE
##### Address already in use
An attempt to bind a server (net, http, or https) to a local address failed due to another server on the local system already occupying that address.
### ECONNRESET
##### Connection reset by peer
A connection was forcibly closed by a peer. This normally results from a loss of the connection on the remote socket due to a timeout or reboot. Commonly encountered via the http and net modules.
### ECONNREFUSED
##### Connection refused
No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host.
### ENOTEMPTY
##### Directory not empty
A directory with entries was the target of an operation that requires an empty directory -- usually fs.unlink.
### ETIMEDOUT
##### Operation timed out
A connect or send request failed because the connected party did not properly respond after a period of time. Usually encountered by http or net -- often a sign that a connected socket was not .end()'d appropriately.
- 快速入門
- 介紹
- 創建項目
- 項目結構
- 代碼規范
- 升級指南
- 進階應用
- 模塊
- 控制器
- 視圖
- 配置
- 路由
- 模型
- 介紹
- 事務
- 關聯模型
- Mysql
- MongoDB
- SQLite
- Adapter
- 介紹
- Cache
- Session
- WebSocket
- Template
- 擴展功能
- thinkjs 命令
- 靜態資源訪問
- Middleware
- Service
- Cookie
- 錯誤處理
- 錯誤信息
- 數據校驗
- 國際化
- 路徑常量
- REST API
- 定時任務
- 線上部署
- 推薦模塊
- API
- think
- think.base
- think.http.base
- http
- controller
- rest controller
- model
- model.mongo
- middleware