import { AxiosError } from 'axios';

export type CBDCAxiosError = AxiosError<{
  errorCode?: string;
  code?: string;
  message?: string;
  data?: any;
  status?: string;
}>;

export interface CBDCAxiosFallbackProps {
  error: CBDCAxiosError;
  resetErrorBoundary?: (...args: unknown[]) => void;
}
