ServerBusyException constructor

ServerBusyException(
  1. ServiceResponse response
)
Initializes a new instance of the The ServiceResponse when service operation failed remotely.

Implementation

ServerBusyException(ServiceResponse response) : super(response) {
  if (response.ErrorDetails != null &&
      response.ErrorDetails!.containsKey(
          ServerBusyException.BackOffMillisecondsKey)) {
    _backOffMilliseconds = int.tryParse(
        response.ErrorDetails![ServerBusyException.BackOffMillisecondsKey]!);
  }
}