errors

package
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Deprecated: This package is superseded by github.com/microbus-io/errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As deprecated

func As(err error, target any) bool

Deprecated: This package is superseded by github.com/microbus-io/errors.

func CatchPanic deprecated added in v1.13.1

func CatchPanic(f func() error) (err error)

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Is deprecated

func Is(err, target error) bool

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Join deprecated

func Join(errs ...error) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

func New deprecated

func New(pattern string, args ...any) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Newc deprecated

func Newc(statusCode int, text string) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Newcf deprecated

func Newcf(statusCode int, format string, a ...any) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Newf deprecated

func Newf(format string, a ...any) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

func StatusCode deprecated

func StatusCode(err error) int

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Trace deprecated

func Trace(err error, a ...any) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Tracec deprecated

func Tracec(statusCode int, err error) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Unwrap deprecated

func Unwrap(err error) error

Deprecated: This package is superseded by github.com/microbus-io/errors.

Types

type StackFrame deprecated added in v1.13.1

type StackFrame = errors.StackFrame

Deprecated: This package is superseded by github.com/microbus-io/errors.

type StreamedError deprecated added in v1.13.1

type StreamedError = errors.StreamedError

Deprecated: This package is superseded by github.com/microbus-io/errors.

type TracedError deprecated

type TracedError = errors.TracedError

Deprecated: This package is superseded by github.com/microbus-io/errors.

func Convert deprecated

func Convert(err error) *TracedError

Deprecated: This package is superseded by github.com/microbus-io/errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL