errors

package
v1.1.54 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedClientVersion  = stderrors.New("unsupported client version")
	ErrNoAddresses               = stderrors.New("no addresses")
	ErrInvalidAddress            = stderrors.New("invalid address")
	ErrUnsetSource               = stderrors.New("unset source")
	ErrInvalidIndex              = stderrors.New("invalid index")
	ErrNoSpaceName               = stderrors.New("no space name")
	ErrNoGraphName               = stderrors.New("no graph name")
	ErrNoNodeName                = stderrors.New("no node name")
	ErrNoNodeID                  = stderrors.New("no node id")
	ErrNoEdgeSrc                 = stderrors.New("no edge src")
	ErrNoEdgeDst                 = stderrors.New("no edge dst")
	ErrNoEdgeName                = stderrors.New("no edge name")
	ErrNoNodeIDName              = stderrors.New("no node id name")
	ErrNoPropName                = stderrors.New("no prop name")
	ErrNoProps                   = stderrors.New("no props")
	ErrUnsupportedValueType      = stderrors.New("unsupported value type")
	ErrNoRecord                  = stderrors.New("no record")
	ErrNoIndicesOrConcatItems    = stderrors.New("no indices or concat items")
	ErrUnsupportedConcatItemType = stderrors.New("unsupported concat item type")
	ErrUnsupportedFunction       = stderrors.New("unsupported function")
	ErrFilterSyntax              = stderrors.New("filter syntax")
	ErrUnsupportedMode           = stderrors.New("unsupported mode")
	ErrContinue                  = stderrors.New("continue")
)

Functions

This section is empty.

Types

type ImportError

type ImportError struct {
	Err      error
	Messages []string
	// contains filtered or unexported fields
}

func AsImportError

func AsImportError(err error) (*ImportError, bool)

func AsOrNewImportError

func AsOrNewImportError(err error, formatWithArgs ...any) *ImportError

func NewImportError

func NewImportError(err error, formatWithArgs ...any) *ImportError

func (*ImportError) AppendMessage

func (e *ImportError) AppendMessage(formatWithArgs ...any) *ImportError

func (*ImportError) Cause

func (e *ImportError) Cause() error

func (*ImportError) EdgeName

func (e *ImportError) EdgeName() string

func (*ImportError) Error

func (e *ImportError) Error() string

func (*ImportError) Fields

func (e *ImportError) Fields() map[string]any

func (*ImportError) GraphName

func (e *ImportError) GraphName() string

func (*ImportError) NodeIDName

func (e *ImportError) NodeIDName() string

func (*ImportError) NodeName

func (e *ImportError) NodeName() string

func (*ImportError) PropName

func (e *ImportError) PropName() string

func (*ImportError) Record

func (e *ImportError) Record() []string

func (*ImportError) SetEdgeName

func (e *ImportError) SetEdgeName(edgeName string) *ImportError

func (*ImportError) SetGraphName

func (e *ImportError) SetGraphName(graphName string) *ImportError

func (*ImportError) SetNodeIDName

func (e *ImportError) SetNodeIDName(nodeIDName string) *ImportError

func (*ImportError) SetNodeName

func (e *ImportError) SetNodeName(nodeName string) *ImportError

func (*ImportError) SetPropName

func (e *ImportError) SetPropName(propName string) *ImportError

func (*ImportError) SetRecord

func (e *ImportError) SetRecord(record []string) *ImportError

func (*ImportError) SetStatement

func (e *ImportError) SetStatement(statement string) *ImportError

func (*ImportError) Statement

func (e *ImportError) Statement() string

func (*ImportError) Unwrap

func (e *ImportError) Unwrap() error

Jump to

Keyboard shortcuts

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