export interface ErrorHandling {
    error: string;
    details?: any;
}
export type IResponse<T> = T | ErrorHandling;
