File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ const (
7070 ErrCodeAccountAuthorizationError ErrorCode = 1055
7171 ErrCodeOperationAuthorizationError ErrorCode = 1056
7272 ErrCodeOperationNotSupportedError ErrorCode = 1057
73+ // Deprecated: No longer used.
7374 ErrCodeBlockHeightOutOfRangeError ErrorCode = 1058
7475
7576 // execution errors 1100 - 1200
Original file line number Diff line number Diff line change @@ -248,17 +248,6 @@ func IsOperationNotSupportedError(err error) bool {
248248 return HasErrorCode (err , ErrCodeOperationNotSupportedError )
249249}
250250
251- func NewBlockHeightOutOfRangeError (height uint64 ) CodedError {
252- return NewCodedError (
253- ErrCodeBlockHeightOutOfRangeError ,
254- "block height (%v) is out of queriable range" ,
255- height )
256- }
257-
258- func IsBlockHeightOutOfRangeError (err error ) bool {
259- return HasErrorCode (err , ErrCodeBlockHeightOutOfRangeError )
260- }
261-
262251// NewScriptExecutionCancelledError construct a new CodedError which indicates
263252// that Cadence Script execution has been cancelled (e.g. request connection
264253// has been droped)
You can’t perform that action at this time.
0 commit comments