errors

package
v0.0.0-...-4b7be03 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateError

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

StateError are errors indicating invalid state. Type is used to differentiate between network, i/o, marshaling, bad usage etc. errors and actual state errors. You can use type assertion or type switch to check for type.

func NewStateError

func NewStateError(err error) StateError

NewStateError creates a new StateError.

Jump to

Keyboard shortcuts

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