customError

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewError

func NewError(err error) error

NewError creates a new error with stack trace

Types

type CustomError

type CustomError struct {
	Err   error
	Stack string
}

CustomError wraps error with stack trace

func (*CustomError) Error

func (e *CustomError) Error() string

Jump to

Keyboard shortcuts

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