errs

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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