errors

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedIPVersion   = errors.New("unsupported IP version")
	ErrUnsupportedFormat      = errors.New("unsupported format")
	ErrInvalidDatabase        = errors.New("invalid database")
	ErrInvalidFormat          = errors.New("invalid format")
	ErrMismatchedFieldsLength = errors.New("mismatched fields length")
	ErrInvalidCIDR            = errors.New("invalid CIDR format")
	ErrCIDROverlap            = errors.New("CIDR overlap detected")
	ErrMetaMissing            = errors.New("meta information missing")
	ErrNilWriter              = errors.New("writer is not initialized")
	ErrUnsupportedLanguage    = errors.New("unsupported language")

	ErrNoDatabaseReaders = errors.New("no database readers provided")

	ErrFileEmpty           = errors.New("file is empty")
	ErrFieldInvalid        = errors.New("invalid field specified")
	ErrMetaFieldsUndefined = errors.New("no fields defined in meta")

	ErrFileNotFound      = errors.New("file not found")
	ErrFailedDownload    = errors.New("failed to download")
	ErrInvalidDirectory  = errors.New("invalid directory path")
	ErrMissingConfigName = errors.New("config name not specified")
	ErrDiscoveryFailed   = errors.New("failed to discover IP address")

	ErrInvalidIP = errors.New("invalid IP address")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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