types

package
v0.2.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "daemons"

Variables

View Source
var (
	// Generic daemon server errors.
	ErrDaemonMethodNotImplemented    = sdkerrors.Register(Name, 1, "Daemon method not implemented")
	ErrServerNotInitializedCorrectly = sdkerrors.Register(Name, 2, "Daemon server not initialized correctly")

	// PriceFeed daemon service errors will have code 1xxx.
	ErrPriceFeedInvalidPrice = sdkerrors.Register(
		Name,
		1000,
		fmt.Sprintf("Price is set to %d which is not a valid price", constants.DefaultPrice),
	)
	ErrPriceFeedLastUpdateTimeNotSet   = sdkerrors.Register(Name, 1001, "LastUpdateTime is not set")
	ErrPriceFeedMarketPriceUpdateEmpty = sdkerrors.Register(Name, 1002, "Market price update has length of 0")
)

daemon errors

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