CertificateVerifyFailed.fromCause constructor

CertificateVerifyFailed.fromCause(
  1. GrpcError error
)

Constructs a new instance of CertificateVerifyFailed from given error

Implementation

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