UNPKG

@boost/event

Version:

An event system with multiple emitter patterns.

9 lines (8 loc) 383 B
import { createScopedError } from '@boost/internal'; const errors = { LISTENER_INVALID: 'Invalid event listener for "{0}", must be a function.', NAME_INVALID: 'Invalid event {0} "{1}". May only contain dashes, periods, and lowercase characters.' }; const EventError = createScopedError('EVT', 'EventError', errors); export { EventError }; //# sourceMappingURL=EventError.mjs.map