httpStatusEquivalent property

int get httpStatusEquivalent

Implementation

int get httpStatusEquivalent {
  try {
    return _grpcToHttp[code]!;
  } on Exception catch (e, s) {
    stderr.writeln(
        'ERROR: httpStatusEquivalent: unhandled status $code $codeName - ${e.runtimeType} $e\n$s');
    rethrow;
  }
}