An abstraction of the result of an action or command -
Use this pattern to return meaningful results from operations
that may have otherwise been void.
Indicates whether or not the action returning the result was successful -
The lack of errors indicates success. The presence of errors indicates failure.
Returns boolean
Methods
AddError
AddError(error:string):void
Adds an error to ErrorMessages only when that error is not already present in the collection
An abstraction of the result of an action or command - Use this pattern to return meaningful results from operations that may have otherwise been void.