Exception: Auth0::RateLimitEncountered

Inherits:
HTTPError show all
Defined in:
lib/auth0/exception.rb

Overview

Auth0 API rate-limiting encountered

Instance Attribute Summary

Attributes inherited from Exception

#error_data

Instance Method Summary collapse

Methods inherited from HTTPError

#headers, #http_code

Methods inherited from Exception

#initialize

Constructor Details

This class inherits a constructor from Auth0::Exception

Instance Method Details

#resetObject



67
68
69
# File 'lib/auth0/exception.rb', line 67

def reset
  Time.at(Integer(headers[:x_ratelimit_reset])).utc
end