Mailer icon indicating copy to clipboard operation
Mailer copied to clipboard

Remove Exceptions

Open txthinking opened this issue 7 years ago • 1 comments

I think much more exception class files is unnecessary. If there is an error, only need to report human readable errors string.

txthinking avatar Oct 09 '18 10:10 txthinking

Hello,

I'm not sure I understand what you mean exactly.

IMHO exceptions are better than error strings because they allow more flexibility.

However, you might not need custom exceptions indeed. Throwing default exception is an option too :)

Xylane avatar Nov 30 '18 06:11 Xylane