AppException.fromFormatException constructor

AppException.fromFormatException(
  1. FileType type
)

Implementation

factory AppException.fromFormatException(final FileType type) {
  return AppException(
      name: "Formatter Exception",
      message: "Invalid Format type '$type'",
      description: "Cannot parse String to '$type'");
}