loadPage().pipe( catchError(e => of({error: e.message})) );. In this case page$ is now Observable<Page|{error: string}> .
確定! 回上一頁