errors

package
v1.123.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 2 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 {
	Reason  string
	Message string
}

func AsInternalError

func AsInternalError(err error) (unwrappedErr *InternalError, ok bool)

func NewInternalError

func NewInternalError(reason, message string) *InternalError

func (*InternalError) Error

func (e *InternalError) Error() string

Jump to

Keyboard shortcuts

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