foundation-store.errormap
Home > @genesislcap/foundation-store > ErrorMap
ErrorMap interface
Warning: This API is now obsolete.
- Use
ErrorMapfrom@genesislcap/foundation-utilsinstead.
Signature:
export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'>
Extends: Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
string |
Error map as messages. |
Methods
|
Method |
Description |
|---|---|
|
Set an error by key. |