import { In, Out } from "../_interfaces" import { makeObservable } from "../_obs" import { Transaction } from "../_tx" import { dispatcherOf } from "../Observable" import { Identity } from "./_base" export function skipErrors( observable: In, ): Out { return makeObservable(observable, new SkipErrors(dispatcherOf(observable))) } class SkipErrors extends Identity { public error(tx: Transaction, err: Error): void {} }