RxJS v6+ import { throwError, of } from 'rxjs'; import { catchError } from 'rxjs/operators'; //emit error const source = throwError('This is an error!
確定! 回上一頁