Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRecover ¶
func WithRecover[F WrappedFunc](f F) (err error)
Types ¶
type WrappedFunc ¶
type WrappedFunc interface { ~func() }
type WrappedPanic ¶
type WrappedPanic struct {
// contains filtered or unexported fields
}
func (*WrappedPanic) Error ¶
func (e *WrappedPanic) Error() string
Click to show internal directories.
Click to hide internal directories.