UNPKG

@bothive/helpers

Version:

Collection of helper functions mainly used inside bothive-core project

17 lines (16 loc) 534 B
import { IErrorConstructor, IInvalidObjectError } from "../interfaces/error.interfaces"; declare class InvalidObjectError extends Error implements IInvalidObjectError { code?: string; description?: string; meta?: Record<string, unknown>; constructor({ message, traceId, meta }: IErrorConstructor); } declare const _default: { codes: { authorizationFailed: string; invalidObject: string; request: string; }; InvalidObjectError: typeof InvalidObjectError; }; export default _default;