categories

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Categorized

type Categorized interface {
	error
	CodeInt()
	CodeString()
}

type Category

type Category uint32

A Category is an unsigned 32-bit error code

const (
	// Unknown
	Unknown Category = 0

	// TemporaryError
	Temporary Category = 1

	// SystemError
	System Category = 2

	// DataError
	Data Category = 3
)

func (Category) String

func (c Category) String() string

Jump to

Keyboard shortcuts

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