Go errors library that contains response codes and a stack trace. This library simplifies the task of determining what http response codes to use for an error within an http server. It also allows for easily logging stack trace information.
Read the documentation here.