UNPKG

calcium-lang

Version:
63 lines 1.53 kB
export class AttributeNotFound extends Error { constructor(key) { super(`attribute ${key} not found.`); this.key = key; this.key = key; } } export class CannotApplySubscript extends Error { } export class CannotConvertToExpression extends Error { } export class CannotInherit extends Error { constructor(name) { super(`cannot inherit ${name}.`); this.name = name; this.name = name; } } export class CannotUnpackValue extends Error { } export class CommandNotFound extends Error { } export class FewerElement extends Error { } export class FunctionCalled extends Error { } export class InconsistentBlock extends Error { } export class IndexMustBeInt extends Error { } export class InvalidBreak extends Error { } export class InvalidRange extends Error { } export class KeyMustBeStrOrInt extends Error { } export class ListIsEmpty extends Error { } export class NameNotFound extends Error { constructor(name) { super(`${name} not found.`); this.name = name; this.name = name; } } export class NotIterable extends Error { } export class OperationFailed extends Error { } export class SliceNotSupported extends Error { } export class SuperIsFailed extends Error { } export class TupleIsImmutable extends Error { } export class UnsupportedKeyword extends Error { constructor(keyword) { super(`${keyword} is not supported.`); this.keyword = keyword; this.keyword = keyword; } } //# sourceMappingURL=index.js.map