UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

9 lines (8 loc) 274 B
import {createCustomError} from "../custom-error/create-custom-error.mjs"; import {LOCK_ERROR_NAME} from "./lock-error-name.constant.mjs"; export function createLockError(options) { return createCustomError(LOCK_ERROR_NAME, { message: 'Locked', ...options }); }