io.scalajs.dom.DOMError.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dom-html_sjs0.6_2.11 Show documentation
Show all versions of dom-html_sjs0.6_2.11 Show documentation
DOM/HTML bindings for Scala.js
package io.scalajs.dom
import scala.scalajs.js
import scala.scalajs.js.annotation.JSGlobal
/**
* The DOMError interface describes an error object that contains an error name.
* @see [[https://developer.mozilla.org/en-US/docs/Web/API/DOMError]]
* @author [email protected]
*/
@js.native
@JSGlobal("DOMError")
class DOMError extends js.Object {
/**
* Returns a DOMString representing one of the error type names (see below).
*/
def name: String = js.native
}