DOMException

open class DOMException(val message: String = definedExternally, val name: JsErrorName = definedExternally) : JsError, Serializable(source)

The DOMException interface represents an abnormal event (called an exception) that occurs as a result of calling a method or accessing a property of a web API.

MDN Reference

Inheritors

Constructors

Link copied to clipboard
constructor(message: String = definedExternally, name: JsErrorName = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val message: String

The message read-only property of the a message or description associated with the given error name.

Link copied to clipboard

The name read-only property of the one of the strings associated with an error name.