UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

15 lines 573 B
import { Exception } from "@aurigma/design-atoms-model/Exception"; export class AjaxResponseException extends Exception { constructor(ajaxResponse) { super(ajaxResponse.value); this.ajaxResponse = ajaxResponse; this.name = "AjaxResponseException"; Object["setPrototypeOf"](this, AjaxResponseException.prototype); } toJSON() { const serializable = super.toJSON(); serializable["ajaxResponse"] = this.ajaxResponse; return serializable; } } //# sourceMappingURL=AjaxResponseException.js.map