API - Errors - ModelNotReduxInitializedError
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 › ModelNotReduxInitializedError
Class: ModelNotReduxInitializedError
Thrown when one of your models was not initialized on a combineModelReducers call, even though a react component was dispatching actions that were meant to trigger its reducers or a mapStateToProps was using one of its selectors for instance. See Model.disableInitializationChecks if you need to disable this check, but keep in mind that is only recommended in tests.
Hierarchy
-
↳ ModelNotReduxInitializedError
Index
Constructors
Properties
Constructors
constructor
+ new ModelNotReduxInitializedError(model
: Model‹unknown, unknown, unknown, unknown›): ModelNotReduxInitializedError
Defined in packages/redux-data-model/src/errors.ts:105
Parameters:
Name | Type |
---|---|
model | Model‹unknown, unknown, unknown, unknown› |
Returns: ModelNotReduxInitializedError
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