Versions in this module Expand all Collapse all v0 v0.0.3 Feb 17, 2025 Changes in this version + func E(args ...interface{}) error + func HTTPErrorResponse(w http.ResponseWriter, lgr zerolog.Logger, err error) + func KindIs(kind Kind, err error) bool + func Match(err1, err2 error) bool + func OpStack(err error) []string + func Str(text string) error + func TopError(err error) error + type Code string + type ErrResponse struct + Error ServiceError + type Error struct + Code Code + Err error + Kind Kind + Op Op + Param Parameter + Realm Realm + User UserName + func (e *Error) Error() string + func (e *Error) Unwrap() error + type InputUnwanted string + func (e InputUnwanted) Error() string + type Kind uint8 + const BrokenLink + const Database + const Exist + const IO + const Internal + const Invalid + const InvalidRequest + const NotExist + const Other + const Private + const Unanticipated + const Unauthenticated + const Unauthorized + const UnsupportedMediaType + const Validation + func (k Kind) String() string + type MissingField string + func (e MissingField) Error() string + type Op string + type Parameter string + type Realm string + type ServiceError struct + Code string + Kind string + Message string + Param string + type UserName string