MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / HasAnError

Function HasAnError

assert.go:151–155  ·  view source on GitHub ↗

HasAnError checks that the observable has produce an error.

()

Source from the content-addressed store, hash-verified

149
150// HasAnError checks that the observable has produce an error.
151func HasAnError() RxAssert {
152 return newAssertion(func(a *rxAssert) {
153 a.checkHasRaisedAnError = true
154 })
155}
156
157// HasErrors checks that the observable has produce a set of errors.
158func HasErrors(errs ...error) RxAssert {

Calls 1

newAssertionFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…