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 |