CometChatCallsException.networkError constructor

CometChatCallsException.networkError([
  1. String? details
])

Creates a CometChatCallsException for network error.

Implementation

factory CometChatCallsException.networkError([String? details]) {
  return CometChatCallsException(
    ErrorCodeConstants.errNetworkError,
    ErrorMessageConstants.messageNetworkError,
    details ?? ErrorDetailConstants.detailNetworkError,
  );
}