SystemError 类
- 继承自: <errors.Error>
Node.js 在其运行时环境中发生异常时会生成系统错误。 这些通常发生在应用程序违反操作系统约束时。 例如,如果应用程序尝试读取不存在的文件,则会发生系统错误。
- Extends: <errors.Error>
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.
address<string> If present, the address to which a network connection failedcode<string> The string error codedest<string> If present, the file path destination when reporting a file system errorerrno<number> The system-provided error numberinfo<Object> If present, extra details about the error conditionmessage<string> A system-provided human-readable description of the errorpath<string> If present, the file path when reporting a file system errorport<number> If present, the network connection port that is not availablesyscall<string> The name of the system call that triggered the error