errors

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const RootCodespace = "greenfiled"

Variables

View Source
var (
	ErrInvalidBucketName  = errors.Register(RootCodespace, 1000, "Invalid bucket name")
	ErrInvalidObjectName  = errors.Register(RootCodespace, 1001, "Invalid object name")
	ErrInvalidGroupName   = errors.Register(RootCodespace, 1002, "Invalid group name")
	ErrInvalidChecksum    = errors.Register(RootCodespace, 1003, "Invalid checksum")
	ErrInvalidContentType = errors.Register(RootCodespace, 1004, "Invalid content type")
	ErrInvalidSPSignature = errors.Register(RootCodespace, 1005, "Invalid sp signature")
	ErrInvalidSPAddress   = errors.Register(RootCodespace, 1006, "Invalid sp address")
	ErrInvalidPrincipal   = errors.Register(RootCodespace, 1007, "Invalid principal")
	ErrInvalidGRN         = errors.Register(RootCodespace, 1008, "Not a standard greenfield resource name format")
	ErrInvalidParameter   = errors.Register(RootCodespace, 1009, "Not a standard greenfield resource name format")

	ErrGRNTypeMismatch = errors.Register(RootCodespace, 2000, "Greenfield resource type mismatch")
)

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