anchor.diff:    String toString() =>
         'gRPC Error (code: $code, codeName: $codeName, message: $message, details: $details, rawResponse: $rawResponse)';
   }
  -
  -/// Given a status code, return the name
  -String _getStatusCodeValue(int code) =>
  -    (Code.valueOf(code) ?? Code.UNKNOWN).name;
   
   /// Parse error details `Any` object into the right kind of `GeneratedMessage`.
   ///
  
positive.code:   ///     returned since the client should not retry unless they have first
    ///     fixed up the directory by deleting files from it.
    GrpcError.failedPrecondition([this.message, this.details, this.rawResponse])
        : code = StatusCode.failedPrecondition,
          codeName = _getStatusCodeValue(StatusCode.failedPrecondition);
  
    /// The operation was aborted, typically due to a concurrency issue like
    /// sequencer check failures, transaction aborts, etc.
  
negative.code:   /// when it applies so that callers who are iterating through a space can
    /// easily look for an [outOfRange] error to detect when they are done.
    GrpcError.outOfRange([this.message, this.details, this.rawResponse])
        : code = StatusCode.outOfRange;
  
    /// Operation is not implemented or not supported/enabled in this service.
    GrpcError.unimplemented([this.message, this.details, this.rawResponse])
        : code = StatusCode.unimplemented;
  
    /// Internal errors. Means some invariants expected by underlying system has
    /// been broken. If you see one of these errors, something is very broken.
    // TODO(sigurdm): This should probably not be an [Exception].
    GrpcError.internal([this.message, this.details, this.rawResponse])
        : code = StatusCode.internal;
  
    /// The service is currently unavailable.  This is a most likely a transient
    /// condition and may be corrected by retrying with a backoff.
  