The problem there is that error strings tend to change over time... an error match today may fail tomorrow.<p>Additionally too many clients think that error messages are safe to be shown to end users. In reality error messages are seldom to never fit to be shown to end users, not least because they&#x27;re not localised, but also because the target audience for an error message for an API is the developer, not the end user.