API - Errors - InvalidNamespaceError
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 › InvalidNamespaceError
Class: InvalidNamespaceError
Thrown when the provided namespace, for one of your models, has invalid characters. Keep in mind that a namespace can only contain letters, numbers and/or dots, when nesting the data is needed.
Hierarchy
-
↳ InvalidNamespaceError
Index
Constructors
Properties
Constructors
constructor
+ new InvalidNamespaceError(namespaceRegex
: RegExp): InvalidNamespaceError
Defined in packages/redux-data-model/src/errors.ts:47
Parameters:
Name | Type |
---|---|
namespaceRegex | RegExp |
Returns: InvalidNamespaceError
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