MCPcopy Create free account
hub / github.com/LeetCode-OpenSource/ayanami / error

Method error

test/specs/effect.spec.ts:75–81  ·  view source on GitHub ↗
(payload$: Observable<void>)

Source from the content-addressed store, hash-verified

73
74 @Effect()
75 error(payload$: Observable<void>) {
76 return payload$.pipe(
77 map(() => {
78 throw new Error('error!')
79 }),
80 )
81 }
82}
83
84describe('Effect spec:', () => {

Callers 2

effect.spec.tsFile · 0.80
catchRxErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected