custom_exceptions library

Exceptions / Errors

FLIException
Common base for every fork-thrown exception. Lets CLI entry points (generate, migrate, doctor) catch a single type and decide how to surface it (info vs. verbose). Library consumers can also catch (FLIException e) once instead of listing every subtype (upstream #378).
InvalidAndroidIconNameException
Exception to be thrown whenever using an invalid Android icon name
InvalidConfigException
Exception to be thrown whenever we have an invalid configuration
InvalidFlavorsFileException
Exception thrown for schema, structural, or merge errors in flutter_launcher_icons_flavors.yaml.
MixedConfigSourcesException
Exception thrown when both new (flutter_launcher_icons_flavors.yaml) and legacy (flutter_launcher_icons-<flavor>.yaml) config sources coexist and the user has opted into strict mode (--strict).
NoConfigFoundException
Exception to be thrown whenever no config is found
NoDecoderForImageFormatException
Exception to be thrown whenever there is no decoder for the image format
UnknownFlavorException
Exception thrown when a requested flavor name is not found in the consolidated multi-flavor config.