domexception

WebJar for domexception

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

domexception
Последняя версия

Последняя версия

2.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

domexception
WebJar for domexception
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/jsdom/domexception

Скачать domexception

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/domexception/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>domexception</artifactId>
    <version>2.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/domexception/
implementation 'org.webjars.npm:domexception:2.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/domexception/
implementation ("org.webjars.npm:domexception:2.0.1")
'org.webjars.npm:domexception:jar:2.0.1'
<dependency org="org.webjars.npm" name="domexception" rev="2.0.1">
  <artifact name="domexception" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='domexception', version='2.0.1')
)
libraryDependencies += "org.webjars.npm" % "domexception" % "2.0.1"
[org.webjars.npm/domexception "2.0.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : webidl-conversions jar [5.0.0,6)

Модули Проекта

Данный проект не имеет модулей.

DOMException

This package implements the DOMException class, from web browsers. It exists in service of jsdom and related packages.

Example usage:

const DOMException = require("domexception");

const e1 = new DOMException("Something went wrong", "BadThingsError");
console.assert(e1.name === "BadThingsError");
console.assert(e1.code === 0);

const e2 = new DOMException("Another exciting error message", "NoModificationAllowedError");
console.assert(e2.name === "NoModificationAllowedError");
console.assert(e2.code === 7);

console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10);

APIs

This package exposes two flavors of the DOMException interface depending on the imported module.

domexception module

This module default-exports the DOMException interface constructor.

domexception/webidl2js-wrapper module

This module exports the DOMException interface wrapper API generated by webidl2js.

org.webjars.npm

Версии библиотеки

Версия
2.0.1
1.0.1
1.0.0