PayloadTooLargeException constructor

PayloadTooLargeException({
  1. String message = 'Payload Too Large',
  2. String errorCode = 'payload_too_large',
  3. int code = HttpStatus.requestEntityTooLarge,
})

Implementation

PayloadTooLargeException({
  String message = 'Payload Too Large',
  String errorCode = 'payload_too_large',
  int code = HttpStatus.requestEntityTooLarge,
}) {
  super.code = code;
  super.errorCode = errorCode;
  super.message = message;
}