S
Size: a a a
S
ST
DB
AT
DB
S
ST
S
ST
S
S
ZS
LS
DB
catchError()
с моей логикой обработки этой ошибки?const data$: Observable<string | null>;
const clean$ = data$.pipe(
map(x => {
if (x === null) {
throw new NoldError();
}
return x;
})
);
function errorHandler<T>() {
return (source$: Observable<string>) =>
source$.pipe(
catchError(() => navigate('.....'))
);
}
const consumer$ = clean$.pipe(errorHandler())
S
catchError()
с моей логикой обработки этой ошибки?const data$: Observable<string | null>;
const clean$ = data$.pipe(
map(x => {
if (x === null) {
throw new NoldError();
}
return x;
})
);
function errorHandler<T>() {
return (source$: Observable<string>) =>
source$.pipe(
catchError(() => navigate('.....'))
);
}
const consumer$ = clean$.pipe(errorHandler())
S
catchError()
с моей логикой обработки этой ошибки?const data$: Observable<string | null>;
const clean$ = data$.pipe(
map(x => {
if (x === null) {
throw new NoldError();
}
return x;
})
);
function errorHandler<T>() {
return (source$: Observable<string>) =>
source$.pipe(
catchError(() => navigate('.....'))
);
}
const consumer$ = clean$.pipe(errorHandler())
DB
S
DB
S