errors

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknowError = iota
	ParaInvalidError
	EIPDuplicateError
	EIPIsUsedError
	EIPNotExist //assign or find
	EIPNotEnoughError
)

Variables

This section is empty.

Functions

func IsParaInvalidError added in v0.3.0

func IsParaInvalidError(err error) bool

func ReasonForError added in v0.3.0

func ReasonForError(err error) int

Types

type PorterError added in v0.3.0

type PorterError struct {
	Code    int
	Message string
}

func (PorterError) Error added in v0.3.0

func (e PorterError) Error() string

Jump to

Keyboard shortcuts

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