errs

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrUnauthorized          = "unauthorized"
	ErrArgumentsCount        = "incorrect number of arguments %d, but this method expects: '%s'"
	ErrEmptyChannelName      = "channel name is empty"
	ErrEmptyChaincodeName    = "chaincode name is empty"
	ErrEmptyRoleName         = "role name is empty"
	ErrCalledNotCCOrAdmin    = "unauthorized; should be called via another chaincode or by platform administrator"
	ErrCallAthFailed         = "call authorization failed, err: %s"
	ErrEmptyNomineeAddress   = "holder address is empty"
	ErrEmptyPrincipalAddress = "principal address is empty"
)

Access Matrix Errors

View Source
const (
	ErrUnauthorizedMsg          = "unauthorized: %s"
	ErrCallerNotAdmin           = "caller is not an acl admin"
	ErrDuplicateSignatures      = "duplicate validators signatures are not allowed: %w"
	ErrDuplicatePubKeys         = "duplicate validators public keys are not allowed: %w"
	ErrEmptyPubKey              = "empty pub key"
	ErrEmptyAddress             = "address is empty"
	ErrAccountForAddressIsEmpty = "account info for address %s is empty"

	ErrEmptyNewKey     = "empty new key"
	ErrRecordsNotFound = "not found any records"

	ErrWrongNumberOfKeys = "number of pubKeys (%d) is less than required (%d)"
)

Errors

Variables

This section is empty.

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