errors

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(c ErrorCode, msgFmt string, args ...interface{}) error

func IsReconciliationNeeded

func IsReconciliationNeeded(err error) bool

func WrapErrorf

func WrapErrorf(c ErrorCode, cause error, msgFmt string, args ...interface{}) error

Types

type ErrorCode

type ErrorCode = string
const (
	IllegalStateError        ErrorCode = "IllegalStateError"
	CausedByError            ErrorCode = "CausedByError"
	BadJobSpecificationError ErrorCode = "BadJobSpecificationError"
	ReconciliationNeeded     ErrorCode = "ReconciliationNeeded"
)

type ErrorMessage

type ErrorMessage = string

type FlinkOperatorError

type FlinkOperatorError struct {
	Code    ErrorCode
	Message ErrorMessage
}

func (*FlinkOperatorError) Error

func (w *FlinkOperatorError) Error() string

type FlinkOperatorErrorWithCause

type FlinkOperatorErrorWithCause struct {
	*FlinkOperatorError
	// contains filtered or unexported fields
}

func (*FlinkOperatorErrorWithCause) Cause

func (*FlinkOperatorErrorWithCause) Error

Jump to

Keyboard shortcuts

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