I was going through the list of predefined Exceptions in PHP and I noticed the DomainException. Anyone know what does DomainException mean? Does it mean failed data model valida
This kind of exception should be used to inform about domain errors in mathematical sense.
See domain of a function.
For example, the square root function will only be defined for positive numbers (unless you're using complex numbers...)