consoleerrors

package
v1.33.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalError

type InternalError struct {
	Function      string
	Call          string
	Message       string
	InnerTrace    string
	OriginalError error
	// contains filtered or unexported fields
}

func CreateConsoleError

func CreateConsoleError(file string) InternalError

func (InternalError) Error

func (e InternalError) Error() string

func (InternalError) FriendlyMessage

func (e InternalError) FriendlyMessage() string

func (InternalError) Unwrap added in v1.26.3

func (e InternalError) Unwrap() error

Unwrap exposes the wrapped error so errors.Is/As can traverse the chain to sentinels stored in OriginalError.

func (*InternalError) Wrap

func (e *InternalError) Wrap(call, function string, err error) error

Jump to

Keyboard shortcuts

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