/**
 * Exceptions for wed.
 * @author Louis-Dominique Dubeau
 * @license MPL 2.0
 * @copyright Mangalam Research Center for Buddhist Languages
 */
define(["require", "exports", "./util"], function (require, exports, util_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    /**
     * This exception is thrown when **voluntarily** aborting a transformation, like
     * if the user is trying to do something which is not allowed in this
     * context. Only transformations can throw this.
     */
    class AbortTransformationException extends Error {
        constructor(message) {
            super(message);
            util_1.fixPrototype(this, AbortTransformationException);
        }
    }
    exports.AbortTransformationException = AbortTransformationException;
});
// LocalWords:  Dubeau MPL Mangalam classdesc
//# sourceMappingURL=exceptions.js.map