UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

9 lines (8 loc) 287 B
import {createCustomError} from "../custom-error/create-custom-error.mjs"; import {TIMEOUT_ERROR_NAME} from "./timeout-error-name.constant.mjs"; export function createTimeoutError(options) { return createCustomError(TIMEOUT_ERROR_NAME, { message: 'Timeout', ...options }); }