class SystemError extends Error
System Error
- Annotations
- @RawJSType() @native() @JSImport("errors", "SystemError")
- Alphabetic
- By Inheritance
- SystemError
- Error
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SystemError(message0: String = js.native)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val address: String
When present (e.g.
When present (e.g. in net or dgram), the error.address property is a string describing the address to which the connection failed.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val code: String
The
error.code
property is a string label that identifies the kind of error.The
error.code
property is a string label that identifies the kind of error.error.code
is the most stable way to identify an error. It will only change between major versions of Node.js. In contrast, error.message strings may change between any versions of Node.js See Node.js Error Codes for details about specific codes.- Definition Classes
- Error
- val dest: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val errno: |[String, Int]
The error.errno property is a number or a string.
The error.errno property is a number or a string. The number is a negative value which corresponds to the error code defined in libuv Error handling. See uv-errno.h header file (deps/uv/include/uv-errno.h in the Node.js source tree) for details. In case of a string, it is the same as error.code.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val info: Object
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val message: String
The error.message property is the string description of the error as set by calling new Error(message).
The error.message property is the string description of the error as set by calling new Error(message). The message passed to the constructor will also appear in the first line of the stack trace of the Error, however changing this property after the Error object is created may not change the first line of the stack trace (for example, when error.stack is read before this property is changed).
- Definition Classes
- Error
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val path: String
When present (e.g.
When present (e.g. in fs or child_process), the error.path property is a string containing a relevant invalid pathname.
- val port: Int
When present (e.g.
When present (e.g. in net or dgram), the error.port property is a number representing the connection's port that is not available.
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val stack: Any
The error.stack property is a string describing the point in the code at which the Error was instantiated.
The error.stack property is a string describing the point in the code at which the Error was instantiated.
- Definition Classes
- Error
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val syscall: String
The error.syscall property is a string describing the syscall that failed.
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])