addError method
Add error to exisng nirikshak http call
Implementation
void addError(NirikshakHttpError error, int requestId) {
final selectedCall = _selectCall(requestId);
if (selectedCall.id == -1) {
if (kDebugMode) log("Selected call is null");
return;
}
selectedCall.error = error;
}