errors

package
v1.1.118 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 21

Documentation

Overview

Defines the error messages used within FlyteAdmin categorized by common error codes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlyteAdminError

type FlyteAdminError interface {
	Error() string
	Code() codes.Code
	GRPCStatus() *status.Status
	WithDetails(details proto.Message) (FlyteAdminError, error)
	String() string
}

func NewAlreadyInTerminalStateError

func NewAlreadyInTerminalStateError(ctx context.Context, errorMsg string, curPhase string) FlyteAdminError

func NewCollectedFlyteAdminError

func NewCollectedFlyteAdminError(code codes.Code, errors []error) FlyteAdminError

func NewFlyteAdminError

func NewFlyteAdminError(code codes.Code, message string) FlyteAdminError

func NewFlyteAdminErrorFromStatus

func NewFlyteAdminErrorFromStatus(status *status.Status) FlyteAdminError

func NewFlyteAdminErrorf

func NewFlyteAdminErrorf(code codes.Code, format string, a ...interface{}) FlyteAdminError

func NewIncompatibleClusterError added in v0.6.73

func NewIncompatibleClusterError(ctx context.Context, errorMsg, curCluster string) FlyteAdminError

func NewWorkflowExistsDifferentStructureError added in v1.1.52

func NewWorkflowExistsDifferentStructureError(ctx context.Context, request *admin.WorkflowCreateRequest) FlyteAdminError

func NewWorkflowExistsIdenticalStructureError added in v1.1.52

func NewWorkflowExistsIdenticalStructureError(ctx context.Context, request *admin.WorkflowCreateRequest) FlyteAdminError

Jump to

Keyboard shortcuts

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