errors

package
v1.0.1-0...-4418604 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtPosition

func AtPosition(ctx context.Context, msg string, i int) *gqlerror.Error

func CreateOutsideMutation

func CreateOutsideMutation(ctx context.Context) *gqlerror.Error

func DeleteOutsideMutation

func DeleteOutsideMutation(ctx context.Context) *gqlerror.Error

func EmptyReference

func EmptyReference(ctx context.Context) *gqlerror.Error

func FailedToFetchAuth

func FailedToFetchAuth(ctx context.Context) *gqlerror.Error

func InternalError

func InternalError(ctx context.Context) *gqlerror.Error

func InvalidNextToken

func InvalidNextToken(ctx context.Context) *gqlerror.Error

func InvalidTypeFromModeldb

func InvalidTypeFromModeldb(ctx context.Context) *gqlerror.Error

func MergeOutsideMutation

func MergeOutsideMutation(ctx context.Context) *gqlerror.Error

func ModelDbInternalError

func ModelDbInternalError(ctx context.Context) *gqlerror.Error

func NextOrQuery

func NextOrQuery(ctx context.Context) *gqlerror.Error

func NoUserFound

func NoUserFound(ctx context.Context) *gqlerror.Error

func NotSupportedOperator

func NotSupportedOperator(ctx context.Context, op string) error

func OwnerAccess

func OwnerAccess(ctx context.Context) *gqlerror.Error

func Presenter

func Presenter(ctx context.Context, e error) *gqlerror.Error

TODO: capture swagger errors too

func UnknownBuildStatus

func UnknownBuildStatus(ctx context.Context, status string) *gqlerror.Error

func UnknownOperator

func UnknownOperator(ctx context.Context, op string) error

func UnknownStatus

func UnknownStatus(ctx context.Context) *gqlerror.Error

func UnknownVisibility

func UnknownVisibility(ctx context.Context, visibility common.VisibilityEnum_Visibility) *gqlerror.Error

func UnknownWorkspaceType

func UnknownWorkspaceType(ctx context.Context, workspaceType common.WorkspaceTypeEnum_WorkspaceType) error

func UpdateOutsideMutation

func UpdateOutsideMutation(ctx context.Context) *gqlerror.Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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