API - Errors - UndefinedSagaEffectError
Redux-Data-Model API Reference Guide
This reference guide lists all methods exposed by redux-data-model. Contributions like linguistic improvements, adding more details to the descriptions or additional examples are highly appreciated! Please note that the docs are generated from source.
redux-data-model › UndefinedSagaEffectError
Class: UndefinedSagaEffectError
Thrown when no saga effect, among the intended ones, exists for the accessed property. Keep in mind that some saga effects such as take, takeMaybe, takeLeading, takeLatest, takeEvery, debounce, and throttle are only available for blocking effects. See Model.disableProxyChecks if you need to disable this check, but keep in mind that is only recommended in tests.
Hierarchy
-
↳ UndefinedSagaEffectError
Index
Constructors
Properties
Constructors
constructor
+ new UndefinedSagaEffectError(name
: string, model
: Model‹unknown, unknown, unknown, unknown›): UndefinedSagaEffectError
Defined in packages/redux-data-model/src/errors.ts:232
Parameters:
Name | Type |
---|---|
name | string |
model | Model‹unknown, unknown, unknown, unknown› |
Returns: UndefinedSagaEffectError
Properties
message
• message: string
Inherited from NamespaceIsntAStringError.message
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string
Inherited from NamespaceIsntAStringError.name
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973
Optional
stack
• stack? : undefined | string
Inherited from NamespaceIsntAStringError.stack
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975
Static
Error
▪ Error: ErrorConstructor
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984