UNPKG

452 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class WrongNullableListOptionError extends Error {
4 constructor(typeOwnerName, nullable) {
5 super(`Wrong nullable option set for ${typeOwnerName}. ` +
6 `You cannot combine non-list type with nullable '${nullable}'.`);
7 Object.setPrototypeOf(this, new.target.prototype);
8 }
9}
10exports.WrongNullableListOptionError = WrongNullableListOptionError;