@daiso-tech/core
Version:
The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.
30 lines (29 loc) • 832 B
TypeScript
/**
* @module Utilities
*/
/**
*
* IMPORT_PATH: `"@daiso-tech/core/utilities"`
* @group Errors
*/
export declare class FactoryError extends Error {
constructor(message: string, cause?: unknown);
}
/**
* The error occurs when attempting to access the default adapter of the `Factory` class instance, which has not been defined.
*
* IMPORT_PATH: `"@daiso-tech/core/utilities"`
* @group Errors
*/
export declare class DefaultAdapterNotDefinedError extends FactoryError {
constructor(factoryName: string);
}
/**
* The error occurs when attempting to access the an adapter of the `Factory` class instance, which has not been registered.
*
* IMPORT_PATH: `"@daiso-tech/core/utilities"`
* @group Errors
*/
export declare class UnregisteredAdapterError extends FactoryError {
constructor(adapterName: string);
}