Exception: Msf::MCP::Security::RateLimitExceededError
- Defined in:
- lib/msf/core/mcp/errors.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Instance Method Summary collapse
-
#initialize(retry_after) ⇒ RateLimitExceededError
constructor
A new instance of RateLimitExceededError.
Constructor Details
#initialize(retry_after) ⇒ RateLimitExceededError
Returns a new instance of RateLimitExceededError.
46 47 48 49 |
# File 'lib/msf/core/mcp/errors.rb', line 46 def initialize(retry_after) @retry_after = retry_after super("Rate limit exceeded. Retry after #{retry_after} seconds.") end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
44 45 46 |
# File 'lib/msf/core/mcp/errors.rb', line 44 def retry_after @retry_after end |