AppNetworkException<OriginalException extends Exception> constructor

AppNetworkException<OriginalException extends Exception>({
  1. required AppNetworkExceptionReason reason,
  2. required OriginalException exception,
})

Create a network exception.

Implementation

AppNetworkException({
  required this.reason,
  required OriginalException exception,
}) : super(exception: exception);