NotAuthenticatedException.fromCause constructor

NotAuthenticatedException.fromCause(
  1. GrpcError error
)

Constructs a new instance of NotAuthenticatedException from given error

Implementation

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