UNPKG

lifecycle-utils

Version:

A set of general utilities for the lifecycle of a JS/TS project/library

9 lines (8 loc) 337 B
/** * This error is thrown when an object is disposed and a method is called on it. * You can use this error to check if an error is caused by a disposed object. * You can also use this error to throw when an object is disposed and a method is called on it. */ export declare class DisposedError extends Error { constructor(); }