GrpcOperationUnsupportedException.fromCause constructor

GrpcOperationUnsupportedException.fromCause(
  1. GrpcError error
)

Constructs a new instance of GrpcOperationUnsupportedException from given error

Implementation

factory GrpcOperationUnsupportedException.fromCause(GrpcError error) =>
    GrpcOperationUnsupportedException(
      error.message,
      cause: error,
    );