Skip to content

Commit

Permalink
Merge pull request #4245 from ElrondNetwork/rc/2022-july
Browse files Browse the repository at this point in the history
rc/2022-july
  • Loading branch information
iulianpascalau authored Sep 23, 2022
2 parents 8e402fa + 47b8513 commit e7da853
Show file tree
Hide file tree
Showing 751 changed files with 41,090 additions and 9,511 deletions.
29 changes: 25 additions & 4 deletions api/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ var ErrInvalidBlockRound = errors.New("invalid block round")
// ErrInvalidEpoch signals that an invalid epoch parameter was provided
var ErrInvalidEpoch = errors.New("invalid epoch parameter")

// ErrInvalidQueryParameter signals and invalid query parameter was provided
var ErrInvalidQueryParameter = errors.New("invalid query parameter")

// ErrValidationEmptyBlockHash signals an empty block hash was provided
var ErrValidationEmptyBlockHash = errors.New("block hash is empty")

Expand Down Expand Up @@ -121,5 +118,29 @@ var ErrNilFacadeHandler = errors.New("nil facade handler")
// ErrFacadeWrongTypeAssertion signals that a type conversion to a facade type failed
var ErrFacadeWrongTypeAssertion = errors.New("facade - wrong type assertion")

// ErrGetGenesisNodes signals that an error happened when trying to feth genesis nodes config
// ErrGetGenesisNodes signals that an error occurred while trying to fetch genesis nodes config
var ErrGetGenesisNodes = errors.New("getting genesis nodes failed")

// ErrGetGenesisBalances signals that an error happened when trying to fetch genesis balances config
var ErrGetGenesisBalances = errors.New("getting genesis balances failed")

// ErrBadUrlParams signals one or more incorrectly provided URL params (generic error)
var ErrBadUrlParams = errors.New("bad url parameter(s)")

// ErrGetGasConfigs signals that an error occurred while trying to fetch gas configs
var ErrGetGasConfigs = errors.New("getting gas configs failed")

// ErrEmptySenderToGetLatestNonce signals that an error happened when trying to fetch latest nonce
var ErrEmptySenderToGetLatestNonce = errors.New("empty sender to get latest nonce")

// ErrEmptySenderToGetNonceGaps signals that an error happened when trying to fetch nonce gaps
var ErrEmptySenderToGetNonceGaps = errors.New("empty sender to get nonce gaps")

// ErrFetchingLatestNonceCannotIncludeFields signals that an error happened when trying to fetch latest nonce
var ErrFetchingLatestNonceCannotIncludeFields = errors.New("fetching latest nonce cannot include fields")

// ErrFetchingNonceGapsCannotIncludeFields signals that an error happened when trying to fetch nonce gaps
var ErrFetchingNonceGapsCannotIncludeFields = errors.New("fetching nonce gaps cannot include fields")

// ErrInvalidFields signals that invalid fields were provided
var ErrInvalidFields = errors.New("invalid fields")
Loading

0 comments on commit e7da853

Please sign in to comment.