js.web.dom.DOMError Maven / Gradle / Ivy
package js.web.dom;
import js.lang.Any;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;
/**
* An error object that contains an error name.
*/
public interface DOMError extends Any {
@JSBody(script = "return DOMError.prototype")
static DOMError prototype() {
throw new UnsupportedOperationException("Available only in JavaScript");
}
@JSBody(script = "return new DOMError()")
static DOMError create() {
throw new UnsupportedOperationException("Available only in JavaScript");
}
@JSProperty
String getName();
String toString();
}