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

About

Example how to handle public errors in go while keeping the contracts unchanged.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example how to handle public errors in go while keeping the contracts unchanged.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages