Versions in this module Expand all Collapse all v2 v2.3.2 Mar 16, 2023 v2.3.1 Mar 16, 2023 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