Documentation
¶
Index ¶
- func Except(err error, ignore ...error)
- func ExceptFn(fn ErrorFn, ignore ...error)
- func ExceptFn2[T any](fn ErrorFn2[T], ignore ...error) T
- func ExceptFn3[T, U any](fn ErrorFn3[T, U], ignore ...error) (T, U)
- func LastError() error
- func LastErrorWas(err error) bool
- func RegisterCallback(fn Callback)
- func RestoreCallback()
- type Callback
- type ErrorFn
- type ErrorFn2
- type ErrorFn3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastErrorWas ¶
func RegisterCallback ¶
func RegisterCallback(fn Callback)
func RestoreCallback ¶
func RestoreCallback()
Types ¶
Click to show internal directories.
Click to hide internal directories.