errors

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: May 13, 2015 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"
)

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