Versions in this module Expand all Collapse all v0 v0.0.1 Oct 8, 2025 Changes in this version + func Is(err error, target error) bool + func IsAlreadyExists(err error) bool + func IsForbidden(err error) bool + func IsInvalidArgument(err error) bool + func IsNotFound(err error) bool + func IsUnauthorized(err error) bool + func New(msg string) error + func Wrap(code ErrCode, msg string) error + func Wrapf(code ErrCode, format string, v ...any) error + type ErrCode int + const AlreadyExists + const Forbidden + const InvalidArgument + const NotFound + const Unauthorized + const Unknown + func GetErrCode(err error) ErrCode + type Error struct + func (e Error) Error() string