addError method
Add error to existing alice http call
Implementation
void addError(AliceHttpError error, int requestId) {
final selectedCall = _selectCall(requestId);
if (selectedCall == null) {
AliceUtils.log('Selected call is null');
return;
}
selectedCall.error = error;
callsSubject.add([...callsSubject.value]);
}