errtype

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrType

type ErrType int

ErrType is an enum type of error

const (
	// Internal is an error indicating an internal error occurred.
	Internal ErrType = iota
	// Encoding is an error indicating encoding failed.
	Encoding
	// EmptyString is an error indicating the string is empty.
	EmptyString
	// UnmatchedPair is an error indicating characters such as parentheses are not paired.
	UnmatchedPair
	// MissingCharacter is an error indicating necessary characters are missing.
	MissingCharacter
	// MissingCharacterAfterEscape is an error indicating there is no character after the escape character.
	MissingCharacterAfterEscape
	// ExtraCharacter is an error indicating extra characters.
	ExtraCharacter
	// ExtraCharacterAfterRison is an error indicating there are extra characters after valid Rison.
	ExtraCharacterAfterRison
	// InvalidLiteral is an error indicating an invalid literal was found.
	InvalidLiteral
	// InvalidCharacter is an error indicating an invalid character was found.
	InvalidCharacter
	// InvalidTypeOfObjectKey is an error indicating an invalid type object key was found.
	InvalidTypeOfObjectKey
	// InvalidStringEscape is an error indicating an invalid string escape was found.
	InvalidStringEscape
	// InvalidNumber is an error indicating an invalid number was found.
	InvalidNumber
	// InvalidLargeExp is an error indicating an upper case "E" is used as an exponent.
	InvalidLargeExp
)

Jump to

Keyboard shortcuts

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