After we make some observable
let observable = new Observable(observer => { let x = 5; if (x == 15) { observer.error(\'something went w