react-application-core
Version:
A react-based application core for the business applications.
16 lines (15 loc) • 494 B
TypeScript
import { IEffectsAction } from 'redux-effects-promise';
import { IKeyValue } from '../definitions.interface';
export interface ITransportRawErrorResponse {
statusText?: string;
status?: number;
}
export interface ITransportRawResponseError {
code: number;
message: string;
response?: ITransportRawErrorResponse;
data?: IKeyValue;
}
export interface IApplicationTransportErrorInterceptor {
intercept(payload: any): IEffectsAction[] | IEffectsAction;
}