Help us shape the future of Go! Take the 2026 Go Developer Survey

errors

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFinalizingCustomInstructions = models.SPVError{
	Code:       "error-custom-instructions-finalize",
	Message:    "Failed to finalize processing custom instructions",
	StatusCode: 500,
}

ErrFinalizingCustomInstructions is returned when custom instructions cannot be finalized

View Source
var ErrGettingAddressFromPublicKey = models.SPVError{
	Code:       "error-getting-address-from-public-key",
	Message:    "Failed to get address from public key",
	StatusCode: 422,
}

ErrGettingAddressFromPublicKey is returned when an address cannot be derived from a public key

View Source
var ErrGettingLockingScript = models.SPVError{
	Code:       "error-getting-locking-script",
	Message:    "Failed to get locking script from address",
	StatusCode: 422,
}

ErrGettingLockingScript is returned when a locking script cannot be derived from an address

View Source
var ErrInitializingCustomInstructions = models.SPVError{
	Code:       "error-custom-instructions-initialize",
	Message:    "Failed to initialize custom instructions",
	StatusCode: 500,
}

ErrInitializingCustomInstructions is returned when custom instructions cannot be initialized

View Source
var ErrProcessingCustomInstructions = models.SPVError{
	Code:       "error-custom-instructions-processing",
	Message:    "Failed to process custom instructions",
	StatusCode: 422,
}

ErrProcessingCustomInstructions is returned when custom instructions cannot be processed

View Source
var ErrType42DerivationFailed = models.SPVError{
	Code:       "error-custom-instructions-derivation-failed",
	Message:    "Failed to derive type42 public key for given instruction",
	StatusCode: 422,
}

ErrType42DerivationFailed is returned when a type42 public key cannot be derived

View Source
var ErrUnknownInstructionType = models.SPVError{
	Code:       "error-unknown-instruction-type",
	Message:    "Unknown instruction type",
	StatusCode: 400,
}

ErrUnknownInstructionType is returned when an unknown instruction type is encountered

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