Exception: Pago::Models::Enums::Unions::Errors::Webhooks::Services::RateLimitError

Inherits:
ClientError
  • Object
show all
Defined in:
sig/pago.rbs

Instance Attribute Summary collapse

Attributes inherited from APIError

#body, #data, #response, #status_code

Instance Method Summary collapse

Constructor Details

#initializeRateLimitError

Returns a new instance of RateLimitError.

Parameters:

  • message (String, nil)
  • retry_after: (Integer, nil)
  • options (Object)


73
# File 'sig/pago.rbs', line 73

def initialize: (?String? message, ?retry_after: Integer?, **untyped options) -> void

Instance Attribute Details

#retry_afterInteger? (readonly)

Returns the value of attribute retry_after.

Returns:

  • (Integer, nil)


71
72
73
# File 'sig/pago.rbs', line 71

def retry_after
  @retry_after
end