UNPKG

@byloth/micro-ecs

Version:

A simple & lightweight ECS (Entity Component System) library for JavaScript and TypeScript. 🕹

22 lines (17 loc) • 637 B
import { ReferenceException, RuntimeException } from "@byloth/core"; export class AttachmentException extends RuntimeException { public constructor(message: string, cause?: unknown, name = "AttachmentException") { super(message, cause, name); } public override readonly [Symbol.toStringTag]: string = "AttachmentException"; } export class DependencyException extends ReferenceException { public constructor(message: string, cause?: unknown, name = "DependencyException") { super(message, cause, name); } public override readonly [Symbol.toStringTag]: string = "DependencyException"; }