errors

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorQueryDataNotImplemented         = errors.New("query data not implemented")
	ErrorInvalidResourceCallQuery        = errors.New("invalid resource query")
	ErrorFailedUnmarshalingResourceQuery = errors.New("failed to unmarshal resource query")
	ErrorQueryParsingNotImplemented      = errors.New("query parsing not implemented yet")
	ErrorUnmarshalingSettings            = errors.New("error while unmarshaling settings")
	ErrorInvalidSentryConfig             = errors.New("invalid sentry configuration")
	ErrorInvalidAuthToken                = errors.New("empty or invalid auth token found")
	ErrorInvalidOrganizationSlug         = errors.New("invalid or empty organization slug")
	ErrorUnknownQueryType                = errors.New("unknown query type")
)

Functions

func GetErrorResponse

func GetErrorResponse(response backend.DataResponse, executedQueryString string, err error) backend.DataResponse

GetErrorResponse returns a DataResponse with an error frame.

Types

This section is empty.

Jump to

Keyboard shortcuts

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