MCPcopy Create free account
hub / github.com/Effect-TS/effect / addError

Method addError

packages/effect/src/unstable/eventlog/EventGroup.ts:79–79  ·  view source on GitHub ↗

* Add an error schema to all the events in the `EventGroup`.

(error: Error)

Source from the content-addressed store, hash-verified

77 * Add an error schema to all the events in the `EventGroup`.
78 */
79 addError<Error extends Schema.Top>(error: Error): EventGroup<Event.AddError<Events, Error>>
80}
81
82/**

Callers 1

addErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected