foundation-utils.defaulterrormap
Home > @genesislcap/foundation-utils > DefaultErrorMap
DefaultErrorMap class
Signature:
export declare class DefaultErrorMap<TErrorDetailMap extends ErrorDetailMap> implements ErrorMap<TErrorDetailMap>
Implements: ErrorMap<TErrorDetailMap>
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Error |
The last set error if any. | ||
|
|
string |
Error map as messages. | |
|
|
number |
The size of the error map. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Clear errors. | ||
|
Delete an error. | ||
|
Get an error by key. | ||
|
Has an error for key. | ||
|
Set an error by key. | ||