You can set up a global exception handler in some frameworks. By having multiple (not a crazy amount) of exceptions, you can set up logic for how to handle that kind of error. Then you can just throw the exception instead of writing individual catch blocks.
This is especially helpful in things like a REST API where user input can cause all kinds of fun, let alone network issues, problems with your data source, etc.
I hate when people gatekeep what is"literature" and what is “genre”. One of the more egregious examples is someone was rest to die on the hill that The Time Traveler’s Wife is “literary fiction” instead of “genre fiction” like sci-fi, particularly since time travel is central to the plot.
TL;DR: anyone who calls one type of fiction literature and excludes the rest from that definition is deeply unserious and so are their statements.