GrpcError.internal constructor

const GrpcError.internal([
  1. String? message,
  2. List<GeneratedMessage>? details,
  3. Object? rawResponse,
  4. Map<String, String>? trailers,
])

Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken.

Implementation

// TODO(sigurdm): This should probably not be an [Exception].
const GrpcError.internal(
    [this.message, this.details, this.rawResponse, this.trailers])
    : code = StatusCode.internal;