In languages that support exception objects (Java, C#), when is it appropriate to use error codes? Is the use of error codes ever appropriate in typical enterprise applicati
Error codes are for if you want to send them to the user. If not, use an exception.