UNPKG

@cowwoc/requirements

Version:

A fluent API for enforcing design contracts with automatic message generation.

13 lines (12 loc) 303 B
/** * Thrown when a method is invoked at an illegal or inappropriate time. */ declare class IllegalStateError extends Error { /** * Creates a new error. * * @param message - an explanation of what went wrong */ constructor(message: string); } export { IllegalStateError };