9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
|
|
import { ERROR } from '../constants';
|
||
|
|
type ErrorTypeKeys = keyof typeof ERROR;
|
||
|
|
type ErrorObjectType = typeof ERROR[ErrorTypeKeys];
|
||
|
|
export declare class CoinSelectionError extends Error {
|
||
|
|
code: ErrorObjectType['code'];
|
||
|
|
constructor(errorObject: ErrorObjectType);
|
||
|
|
}
|
||
|
|
export {};
|