pmerrors

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAddressSave = models.SPVError{Message: "address save operation failed", StatusCode: 500, Code: "error-address-save"}

ErrAddressSave is when the address save operation failed.

View Source
var ErrParseIncomingTransaction = models.SPVError{Message: "incoming hex transaction could not be parsed", StatusCode: 400, Code: "error-parse-incoming-hex-transaction"}

ErrParseIncomingTransaction is when the incoming hex transaction could not be parsed

View Source
var ErrPaymailDBFailed = models.SPVError{Message: "paymail database operation failed", StatusCode: 500, Code: "error-paymail-db-failed"}

ErrPaymailDBFailed is when the paymail database operation failed.

View Source
var ErrPaymailHostInvalidResponse = models.SPVError{Message: "paymail host invalid response", StatusCode: 500, Code: "error-paymail-host-invalid-response"}

ErrPaymailHostInvalidResponse is when the paymail host is responding with invalid response.

View Source
var ErrPaymailHostNotSupportingP2P = models.SPVError{Message: "paymail host is not supporting P2P capabilities", StatusCode: 400, Code: "error-paymail-host-not-supporting-p2p"}

ErrPaymailHostNotSupportingP2P is when the paymail host is not supporting P2P capabilities.

View Source
var ErrPaymailHostResponseError = models.SPVError{Message: "paymail host is responding with error", StatusCode: 500, Code: "error-paymail-host-error"}

ErrPaymailHostResponseError is when the paymail host is responding with errors.

View Source
var ErrPaymailInvalidMerkleRoots = models.SPVError{Message: "invalid merkle roots", StatusCode: 400, Code: "error-paymail-invalid-merkle-roots"}

ErrPaymailInvalidMerkleRoots is when merkle roots verification by BHS returns status: INVALID

View Source
var ErrPaymailMerkleRootVerificationFailed = models.SPVError{Message: "merkle root verification could not be processed", StatusCode: 500, Code: "error-paymail-merkle-root-verification-failed"}

ErrPaymailMerkleRootVerificationFailed is when merkle root verification could not be processed

View Source
var ErrPaymailNotFound = models.SPVError{Message: "paymail not found", StatusCode: 404, Code: "error-paymail-not-found"}

ErrPaymailNotFound is when the paymail is not found.

View Source
var ErrPaymailPKI = models.SPVError{Message: "paymail PKI operation failed", StatusCode: 500, Code: "error-paymail-pki"}

ErrPaymailPKI is when the paymail PKI operation failed.

View Source
var ErrPaymentDestination = models.SPVError{Message: "payment destination operation failed", StatusCode: 500, Code: "error-payment-destination"}

ErrPaymentDestination is when the payment destination operation failed.

View Source
var ErrRecordTransaction = models.SPVError{Message: "transaction could not be recorded", StatusCode: 500, Code: "error-record-transaction"}

ErrRecordTransaction is when the transaction could not be recorded

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