Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Latest commit

 

History

History
8 lines (6 loc) · 353 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 353 Bytes

Go Public Errors Example

Idea on how public errors should be handled. Main advantages for such or similar implementation:

  • Ensures stable contracts
  • Ensures public error codes visibility
  • Enables handling errors by behaviors, rather by values or types