errors

package
v0.0.0-...-c06942e Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: GPL-3.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 BytesError

type BytesError []byte

func (BytesError) Error

func (b BytesError) Error() string

func (BytesError) Raw

func (b BytesError) Raw() any

type Error

type Error interface {
	Raw() any
	Error() string
}

func NewBytes

func NewBytes(bytes []byte) Error

func NewString

func NewString(text string) Error

func NewStringFromErr

func NewStringFromErr(err error) Error

type StringError

type StringError string

func (StringError) Error

func (e StringError) Error() string

func (StringError) Raw

func (e StringError) Raw() any

Jump to

Keyboard shortcuts

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