errors

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Configuration errors
	ErrMultipleDSLFiles                                                  = errors.New("multiple DSL files are found")
	ErrNoDSLFile                                                         = errors.New("no DSL file")
	ErrWrongWorkflowConcurrency                                          = errors.New("reserved workflow concurrency doesn't match")
	ErrNegativeStartIndex                                                = errors.New("start index is negative")
	ErrNegativeEndIndex                                                  = errors.New("end index is negative")
	ErrNegativeReconciliationCoverageIndex                               = errors.New("reconciliation coverage index is negative")
	ErrNegativeReconciliationCoverageAccountCount                        = errors.New("reconciliation coverage account is negative")
	ErrNegativeSeenBlockWorkers                                          = errors.New("the number of seen block workers is negative")
	ErrNegativeSerialBlockWorkers                                        = errors.New("the number of serial block workers is negative")
	ErrReconciliationOutOfRange                                          = errors.New("reconciliation is out of range, it must be in the range [0, 1]")
	ErrTableSizeIsOutOfRange                                             = errors.New("table size is out of range, it must be in the range [1, 100]")
	ErrValueLogFileSizeIsOutOfRange                                      = errors.New("value log file size is out of range, it must be in the range [128, 2048]")
	ErrBalanceTrackingIsDisabledForReconciliation                        = errors.New("balance tracking cannot be disabled for reconciliation")
	ErrBalanceTrackingIsDisabledForReconciliationCoverageEndCondition    = errors.New("balance tracking cannot be disabled for reconciliation coverage end condition")
	ErrReconciliationErrorIsIgnoredForReconciliationCoverageEndCondition = errors.New("reconciliation error cannot be ignored for reconciliation coverage end condition")
	ErrReconciliationIsDisabledForReconciliationCoverageEndCondition     = errors.New("reconciliation cannot be disabled for reconciliation coverage end condition")
	ErrConstructionConfigMissing                                         = errors.New("construction configuration is missing")

	// Data check errors
	ErrDataCheckHalt          = errors.New("data check halted")
	ErrReconciliationFailure  = errors.New("reconciliation failure")
	ErrInitDataTester         = errors.New("unexpected error occurred while trying to initialize data tester")
	ErrReconcilerDrainHalt    = errors.New("reconciler queue drain halted")
	ErrMissingOps             = errors.New("search for block with missing ops halted")
	ErrUnableToFindMissingOps = errors.New("unable to find missing ops")

	// Spec check errors
	ErrErrorEmptyMessage  = errors.New("error object can't have empty message")
	ErrErrorNegativeCode  = errors.New("error object can't have negative code")
	ErrAccountNullPointer = errors.New("account is nil")
	ErrBlockNotIdempotent = errors.New("multiple calls with the same hash don't return the same block")
	ErrBlockTip           = errors.New("unspecified block_identifier doesn't give the tip block")

	// Construction check errors
	ErrConstructionCheckHalt                            = errors.New("construction check halted")
	ErrBalanceExemptionsWithInitialBalanceFetchDisabled = errors.New("found balance exemptions but initial balance fetch disabled")

	// Command errors
	ErrBlockNotFound                  = errors.New("block not found")
	ErrNoAvailableNetwork             = errors.New("no networks available")
	ErrNetworkOptionsAllowlistIsNil   = errors.New("network options allowlist is nil")
	ErrAsserterConfigurationIsNil     = errors.New("asserter configuration is nil")
	ErrTimestampStartIndexMismatch    = errors.New("timestamp start index mismatch")
	ErrOperationTypeLengthMismatch    = errors.New("operation type length mismatch")
	ErrOperationTypeMismatch          = errors.New("operation type mismatch")
	ErrOperationStatusLengthMismatch  = errors.New("operation status length mismatch")
	ErrOperationStatusMismatch        = errors.New("operation status mismatch")
	ErrErrorLengthMismatch            = errors.New("error length mismatch")
	ErrErrorMismatch                  = errors.New("error mismatch")
	ErrAsserterConfigError            = errors.New("asserter configuration validation failed")
	ErrNoHeadBlock                    = errors.New("no head block")
	ErrBlockBenchmarkTimeout          = errors.New("/block endpoint benchmarking timed out")
	ErrAccountBalanceBenchmarkTimeout = errors.New("/account/balance endpoint benchmarking timed out")
)

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