FileTooBigSDNException constructor

FileTooBigSDNException(
  1. int actualFileSize,
  2. int maxFileSize
)

Implementation

FileTooBigSDNException(this.actualFileSize, this.maxFileSize)
    : super.fromJson({
        'errcode': SDNError.M_TOO_LARGE,
        'error':
            'File size ${_formatFileSize(actualFileSize)} exceeds allowed maximum of ${_formatFileSize(maxFileSize)}'
      });