API - Errors - BlockingEffectWithoutMatchingEffectError
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 › BlockingEffectWithoutMatchingEffectError
Class: BlockingEffectWithoutMatchingEffectError
Thrown when blocking effect action types don't have a matching effect action type, for one of your models. A blocking effect is meant to alter the default behavior of a pre-existing normal effect, therefore it needs to be named the same way as the effect in question.
Hierarchy
-
↳ BlockingEffectWithoutMatchingEffectError
Index
Constructors
Properties
Constructors
constructor
+ new BlockingEffectWithoutMatchingEffectError(model
: Model‹unknown, unknown, unknown, unknown›, effectActionTypes
: string[]): BlockingEffectWithoutMatchingEffectError
Defined in packages/redux-data-model/src/errors.ts:85
Parameters:
Name | Type |
---|---|
model | Model‹unknown, unknown, unknown, unknown› |
effectActionTypes | string[] |
Returns: BlockingEffectWithoutMatchingEffectError
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