UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

9 lines (8 loc) 277 B
import {createCustomError} from "../custom-error/create-custom-error.mjs"; import {EMPTY_ERROR_NAME} from "./empty-error-name.constant.mjs"; export function createEmptyError(options) { return createCustomError(EMPTY_ERROR_NAME, { message: 'Empty', ...options }); }