CometChatCallsException.networkError constructor
CometChatCallsException.networkError([
- String? details
Creates a CometChatCallsException for network error.
Implementation
factory CometChatCallsException.networkError([String? details]) {
return CometChatCallsException(
ErrorCodeConstants.errNetworkError,
ErrorMessageConstants.messageNetworkError,
details ?? ErrorDetailConstants.detailNetworkError,
);
}