|
|
@ -7,7 +7,7 @@ export interface RootParams { |
|
|
export type ErrorScreenErrorCodes = 401 | 403 | 404 | 500; |
|
|
export type ErrorScreenErrorCodes = 401 | 403 | 404 | 500; |
|
|
|
|
|
|
|
|
export interface HttpErrorConfig { |
|
|
export interface HttpErrorConfig { |
|
|
skipHandledErrorCodes?: ErrorScreenErrorCodes[]; |
|
|
skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[]; |
|
|
errorScreen?: { |
|
|
errorScreen?: { |
|
|
component: Type<any>; |
|
|
component: Type<any>; |
|
|
forWhichErrors?: ErrorScreenErrorCodes[]; |
|
|
forWhichErrors?: ErrorScreenErrorCodes[]; |
|
|
|