errors

package
v2.0.1-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: BSD-2-Clause Imports: 1 Imported by: 20

Documentation

Overview

Package contains error strings and patterns for common errors

Index

Constants

View Source
const (
	InvalidAuth              = "Invalid Auth Header"
	UnAuth                   = "User Unauthorized"
	NoAuth                   = "No Authorization"
	AttrImut                 = "Node attributes immutable"
	FileImut                 = "Node file immutable"
	ProvenanceImut           = "Provenance info immutable"
	InvalidIndex             = "Invalid index type"
	InvalidFileTypeForFilter = "Invalid file type for filter"
	InvalidIndexRange        = "Invalid index record range"
	IndexOutBounds           = "Index record out of bounds"
	IndexNoFile              = "Index file is missing"
	NodeReferenced           = "Node referenced by virtual node"
	NodeDoesNotExist         = "Node does not exist"
	NodeNotFound             = "Node not found"
	NodeNoFile               = "Node has no file"
	NodeFileLock             = "Node file is locked"
	NodeIndexLock            = "Node index is locked"
)

Variables

View Source
var (
	MongoDupKeyRegex = regexp.MustCompile("duplicate\\s+key")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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