1 // Copyright 2020 Blue Static <https://www.bluestatic.org>
2 // This program is free software licensed under the GNU General Public License,
3 // version 3.0. The full text of the license can be found in LICENSE.txt.
4 // SPDX-License-Identifier: GPL-3.0-only
6 export class InconsistencyError extends Error {
7 constructor(m: string) {
9 Object.setPrototypeOf(this, InconsistencyError.prototype);
13 export class UnsupportedFeatureError extends Error {
14 constructor(m: string) {
16 Object.setPrototypeOf(this, UnsupportedFeatureError.prototype);
20 export class NotFoundError extends Error {
21 constructor(m: string) {
23 Object.setPrototypeOf(this, NotFoundError.prototype);