import { Observable } from 'rx'; Observable .from([1, 2, 3]) .map(x => { if (x < 2) return x; throw new Error('x >= 2'); }) .catch(error ...
確定! 回上一頁