errors

package
v0.0.0-...-ff244ab Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Global
	ErrUnmarshal           = errors.New("Failed to unmarshal json")
	ErrRouteNotFound       = errors.New("Unknown route")
	ErrAsyncTypeUnknown    = errors.New("Unknown AsyncType")
	ErrAsyncTaskNotFound   = errors.New("Async task not found")
	ErrTooManyDoc          = errors.New("One unique doc expected, but more than one found")
	ErrNoExecutionMetadata = errors.New("No ExecutionMetadata for this query")

	// CI
	ErrEmptyConcept           = errors.New("Concept is empty")
	ErrConceptNotFound        = errors.New("Conceptdoc not found")
	ErrConceptAlreadyExisting = errors.New("Concept is already existing")
	ErrTooManyConceptDoc      = errors.New("Too many salts found for this concept")

	// TF / T
	ErrInvalidTargetProfile = errors.New("Invalid target profile")
	ErrComputeTargetProfile = errors.New("Failed to compute target profile")
	ErrNoTargets            = errors.New("No target matches the Target Profile")

	// DA
	ErrArgNotFound       = errors.New("Arg not found")
	ErrKeyNotFound       = errors.New("Key not found")
	ErrInvalidKey        = errors.New("Invalid key")
	ErrStrToFloat        = errors.New("Cannot convert string to float64")
	ErrAggrUnknown       = errors.New("Unknown aggregation function")
	ErrJobUnknown        = errors.New("Unknown aggregation job")
	ErrPatchUnknown      = errors.New("Unknown aggregation patch")
	ErrAggrFailed        = errors.New("Failed to apply aggregate function")
	ErrLengthConsistency = errors.New("Theta and features should have the same length")

	// Conductor
	ErrHostnameConductor           = errors.New("Failed to retrieve hostname")
	ErrNewExecutionMetadata        = errors.New("Failed to create a new ExecutionMetadata")
	ErrRetrievingQueryDoc          = errors.New("Failed while retrieving QueryDoc")
	ErrRetrievingExecutionMetadata = errors.New("Failed while retrieving ExecutionMetadata")
	ErrSubscribeDocNotFound        = errors.New("Cannot find SubscribeDoc")
	ErrNotEnoughDataToComputeQuery = errors.New("We don't have enough data to compute the query")
	ErrConceptAlreadyInConductorDB = errors.New("This concept already exists in Conductor's database")
)

Functions

func WrapErrors

func WrapErrors(err error, parameter string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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