node-datachannel
Version:
WebRTC For Node.js and Electron. libdatachannel node bindings.
38 lines (31 loc) • 804 B
text/typescript
/// <reference lib="dom" />
export class InvalidStateError extends DOMException {
constructor(msg: string) {
super(msg, 'InvalidStateError');
}
};
export class TypeError extends DOMException {
constructor(msg: string) {
super(msg, 'TypeError');
}
};
export class OperationError extends DOMException {
constructor(msg: string) {
super(msg, 'OperationError');
}
};
export class NotFoundError extends DOMException {
constructor(msg: string) {
super(msg, 'NotFoundError');
}
};
export class InvalidAccessError extends DOMException {
constructor(msg: string) {
super(msg, 'InvalidAccessError');
}
};
export class SyntaxError extends DOMException {
constructor(msg: string) {
super(msg, 'SyntaxError');
}
};