Versions in this module Expand all Collapse all v2 v2.7.1 Jan 15, 2024 v2.7.0 Jan 12, 2024 Changes in this version + const ErrBadRequestCode + const ErrClientClosedRequest + const ErrInternalCode + const ErrNotFoundCode + const ErrUnknownCode + func CodeFromError(err error) string + type Error struct + Code string + Message string + Metadata map[string]string + func NewError(err error, code string, metadata ...map[string]string) *Error + func (e *Error) Error() string