Documentation ¶
Index ¶
- Variables
- func As(err error, target any) bool
- func Assert(condition bool, err error)
- func AssertNoError(err error, msg error)
- func ErrMarshal(err error) error
- func HandleErr(e *error)
- func Is(err error, target error) bool
- func New(msg string) error
- func NewE(err error) error
- func NewEf(err error, msg string, args ...any) error
- func Newf(msg string, a ...any) error
- func OfType[T error](err error) bool
- type ErrNotFound
Constants ¶
This section is empty.
Variables ¶
View Source
var NotLoggedIn error = fmt.Errorf("%d Not LoggedIn", http.StatusUnauthorized)
Functions ¶
func AssertNoError ¶
func ErrMarshal ¶
Types ¶
type ErrNotFound ¶
type ErrNotFound struct { Message string // contains filtered or unexported fields }
func (ErrNotFound) Error ¶
func (err ErrNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.