endExecutionWithError method
endExecutionWithData
will issue a CommandResult with
data: null
error: Exeption(message
)
isExecuting : false
Implementation
void endExecutionWithError(String message)
{
subject.add(new CommandResult<TResult>(null,new Exception(message),false));
_canExecuteSubject.add(true);
}