API error handling, minus the vague advice · PitHub