{"modulePath":"github.com/MG-RAST/SHock","version":"v0.9.29","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\nPackage contains error strings and patterns for common errors\n\n## Constants\n\n```go\nconst (\n\tInvalidAuth              = \"Invalid Auth Header\"\n\tUnAuth                   = \"User Unauthorized\"\n\tNoAuth                   = \"No Authorization\"\n\tAttrImut                 = \"Node attributes immutable\"\n\tFileImut                 = \"Node file immutable\"\n\tProvenanceImut           = \"Provenance info immutable\"\n\tInvalidIndex             = \"Invalid index type\"\n\tInvalidFileTypeForFilter = \"Invalid file type for filter\"\n\tInvalidIndexRange        = \"Invalid index record range\"\n\tIndexOutBounds           = \"Index record out of bounds\"\n\tIndexNoFile              = \"Index file is missing\"\n\tNodeReferenced           = \"Node referenced by virtual node\"\n\tNodeDoesNotExist         = \"Node does not exist\"\n\tNodeNotFound             = \"Node not found\"\n\tNodeNoFile               = \"Node has no file\"\n\tNodeFileLock             = \"Node file is locked\"\n\tNodeIndexLock            = \"Node index is locked\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\tMongoDupKeyRegex = regexp.MustCompile(\"duplicate\\\\s+key\")\n)\n```\n\n","path":"github.com/MG-RAST/SHock/shock-server/errors","name":"errors","synopsis":"Package contains error strings and patterns for common errors","isRedistributable":true}
