7.23Why custom errors matter
Today:
customer-system = Salesforce
Tomorrow:
customer-system = Dynamics
If everything knows:
SALESFORCE:NOT_FOUND
you have tight coupling.
Better:
APP:CUSTOMER_NOT_FOUND
The connector implementation can change.