Exception: AxHub::Data::LegacyCursorError

Inherits:
Error
  • Object
show all
Defined in:
lib/axhub_sdk/data/errors.rb

Overview

Raised when an after/before keyset or v1:/v2: cursor token is supplied; the live AX Hub data API is offset-only (mirrors node LegacyCursorError).

Instance Attribute Summary

Attributes inherited from Error

#category, #code, #request_id, #retryable, #status

Instance Method Summary collapse

Constructor Details

#initialize(message, request_id: nil) ⇒ LegacyCursorError

Returns a new instance of LegacyCursorError.



19
20
21
# File 'lib/axhub_sdk/data/errors.rb', line 19

def initialize(message, request_id: nil)
  super(category: 'validation', code: 'legacy_cursor', message: message, status: 0, retryable: false, request_id: request_id)
end