Talewright Docs Open the app

Which field of an error should my code branch on?

error.code first, then error.details.reason when the code has reasons. Never branch on message, and never on the HTTP status alone: four codes share 409 and two share 503.