Documentation
¶
Index ¶
- func New(m string) error
- func New1[X any](m string) (x X, serr error)
- func New1f[X any](m string, args ...any) (x X, serr error)
- func New2[X any, Y any](m string) (x X, y Y, serr error)
- func New2f[X any, Y any](m string, args ...any) (x X, y Y, serr error)
- func New3[X any, Y any, Z any](m string) (x X, y Y, z Z, serr error)
- func New3f[X any, Y any, Z any](m string, args ...any) (x X, y Y, z Z, serr error)
- func Newf(m string, args ...any) error
- func Ret(err error) error
- func Ret1[X any](err error) (x X, serr error)
- func Ret2[X any, Y any](err error) (x X, y Y, serr error)
- func Ret3[X any, Y any, Z any](err error) (x X, y Y, z Z, serr error)
- type StackError
- type StackFrame
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StackError ¶
type StackError struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(err error) *StackError
func (*StackError) Error ¶
func (e *StackError) Error() string
func (*StackError) Print ¶
func (e *StackError) Print() string
func (*StackError) Unwrap ¶
func (e *StackError) Unwrap() error
type StackFrame ¶
Click to show internal directories.
Click to hide internal directories.