Public Errors and Internal Diagnostics
A public response should explain the relevant outcome and how to proceed. Internal diagnostics can record technical context appropriate to designated readers.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace an unavailable dependency
A request to save a note may report temporary unavailability. A diagnostic can record the component and a correlation identifier without placing implementation details in the response. See privacy-aware logging.
Test both audiences
Verify the public message offers useful action and the internal event keeps enough context to investigate. Machine codes and messages clarify which fields should remain stable.[1]