Exception: Common::Exceptions::TooManyRequests
- Inherits:
-
BaseError
- Object
- StandardError
- BaseError
- Common::Exceptions::TooManyRequests
show all
- Defined in:
- lib/common/exceptions/too_many_requests.rb
Instance Method Summary
collapse
Methods inherited from BaseError
#i18n_data, #i18n_field, #i18n_interpolated, #log_to_sentry?, #message, #sentry_type, #status_code
Instance Method Details
#errors ⇒ Object
9
10
11
|
# File 'lib/common/exceptions/too_many_requests.rb', line 9
def errors
Array(SerializableError.new(i18n_interpolated))
end
|
#i18n_key ⇒ Object
13
14
15
|
# File 'lib/common/exceptions/too_many_requests.rb', line 13
def i18n_key
'common.exceptions.too_many_requests'
end
|