neat-php / object

Neat Object components
MIT License
4 stars 1 forks source link

Exceptions #20

Closed annavanbiemen closed 4 years ago

annavanbiemen commented 4 years ago

When specifying a class, table or foreign key that cannot be found, Neat Object should throw a clear Exception to explain why it cannot proceed instead of breaking with PHP errors and long stack traces within the Neat Object code.

annavanbiemen commented 4 years ago

https://en.wikipedia.org/wiki/Defensive_programming