PayloadTooLargeException constructor
- String? message,
- DioException? originalException,
- String? errorCode,
- String? traceId,
Creates a PayloadTooLargeException with an optional custom message.
Implementation
const PayloadTooLargeException({String? message, super.originalException, super.errorCode, super.traceId})
: super(message: message ?? "The file or data you're trying to send is too large. Please try a smaller file.");