Hacker News new | ask | show | jobs
by dozzie 3597 days ago
Don't use error codes. Use structured messages, such that their serialization to JSON is easy. Then you can just put in any relevant fields and be done with that.