Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + func BadGateway(id, format string, a ...interface{}) error + func BadRequest(id, format string, a ...interface{}) error + func Conflict(id, format string, a ...interface{}) error + func Equal(err1 error, err2 error) bool + func Forbidden(id, format string, a ...interface{}) error + func GatewayTimeout(id, format string, a ...interface{}) error + func InternalServerError(id, format string, a ...interface{}) error + func MethodNotAllowed(id, format string, a ...interface{}) error + func New(id, detail string, code int32) error + func NotFound(id, format string, a ...interface{}) error + func NotImplemented(id, format string, a ...interface{}) error + func ServiceUnavailable(id, format string, a ...interface{}) error + func Timeout(id, format string, a ...interface{}) error + func Unauthorized(id, format string, a ...interface{}) error + type Error struct + Code int32 + Detail string + Id string + Status string + func FromError(err error) *Error + func Parse(err string) *Error + func (e *Error) Error() string