errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	UnknownError              = -1
	ConfigError               = 1
	InvalidConfigPathOrFormat = 2
	DownloadError             = 100
	NebulaError               = 200
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImporterError

type ImporterError struct {
	ErrCode int
	ErrMsg  error
}

func Wrap

func Wrap(code int, err error) ImporterError

func (ImporterError) Error

func (e ImporterError) Error() string

Jump to

Keyboard shortcuts

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