Documentation ¶
Overview ¶
Defines the error messages used within FlyteAdmin categorized by common error codes.
Index ¶
- func IsDoesNotExistError(err error) bool
- type FlyteAdminError
- func NewAlreadyInTerminalStateError(ctx context.Context, errorMsg string, curPhase string) FlyteAdminError
- func NewCollectedFlyteAdminError(code codes.Code, errors []error) FlyteAdminError
- func NewFlyteAdminError(code codes.Code, message string) FlyteAdminError
- func NewFlyteAdminErrorFromStatus(status *status.Status) FlyteAdminError
- func NewFlyteAdminErrorf(code codes.Code, format string, a ...interface{}) FlyteAdminError
- func NewIncompatibleClusterError(ctx context.Context, errorMsg, curCluster string) FlyteAdminError
- func NewWorkflowExistsDifferentStructureError(ctx context.Context, request *admin.WorkflowCreateRequest) FlyteAdminError
- func NewWorkflowExistsIdenticalStructureError(ctx context.Context, request *admin.WorkflowCreateRequest) FlyteAdminError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDoesNotExistError ¶ added in v1.10.6
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 ¶
func NewIncompatibleClusterError(ctx context.Context, errorMsg, curCluster string) FlyteAdminError
func NewWorkflowExistsDifferentStructureError ¶
func NewWorkflowExistsDifferentStructureError(ctx context.Context, request *admin.WorkflowCreateRequest) FlyteAdminError
func NewWorkflowExistsIdenticalStructureError ¶
func NewWorkflowExistsIdenticalStructureError(ctx context.Context, request *admin.WorkflowCreateRequest) FlyteAdminError
Click to show internal directories.
Click to hide internal directories.