ResultBase classβ
A class used to handle the result of a function call or sub-process. Functions/process should return back this object so that the calling function can evaluate it's success.
Signature:export declare class ResultBase extends Error
Constructorsβ
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(message) | Constructs a new instance of the ResultBase class |
Propertiesβ
| Property | Modifiers | Type | Description |
|---|---|---|---|
| instanceId? | string | (Optional) A string ID used in identifying if the object is a result |