errors

package
v0.2.5-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const RootCodespace = "greenfield"

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, "Invalid parameter")
	ErrInvalidVisibilityType = errors.Register(RootCodespace, 1010, "Invalid public type")
	ErrInvalidActionType     = errors.Register(RootCodespace, 1011, "Invalid action type")
	ErrInvalidPrincipalType  = errors.Register(RootCodespace, 1012, "Invalid principal type")
	ErrInvalidBlsSignature   = errors.Register(RootCodespace, 1013, "bls signature is invalid")
	ErrInvalidMessage        = errors.Register(RootCodespace, 1014, "Invalid message")

	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