Help us shape the future of Go! Take the 2026 Go Developer Survey

semerr

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func (*Instance) Error

func (i *Instance) Error() string

func (*Instance) Format

func (i *Instance) Format(s fmt.State, verb rune)

func (*Instance) Is

func (i *Instance) Is(e error) bool

func (*Instance) Unwrap

func (i *Instance) Unwrap() error

type SemErr

type SemErr struct {
	nocopy.NoCopy
	// contains filtered or unexported fields
}

func New

func New(name string) *SemErr

func (*SemErr) Decorate

func (s *SemErr) Decorate(e error) error

func (*SemErr) Error

func (s *SemErr) Error() string

func (*SemErr) Is

func (s *SemErr) Is(e error) bool

Jump to

Keyboard shortcuts

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