When using coding standard checks my attention is often drawn to the use of exceptions. Generally when I'm putting something together I use standard exceptions and later code something more specific.
The general consensus from code quality checks is that \Exception should not be used but instead more specific types of exception. I understand that part.
Some of the exceptions are obvious what the correct usage is. For example an entity not found exception NoSuchEntityException.
I'm unsure on LocalizedException. What is the difference between this and standard Exception. And generally when should it be used?