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