mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
feat: provide possibility of rescuing any Rack::Attack error
This commit is contained in:
parent
7b5f9c07c8
commit
f65431f788
1 changed files with 3 additions and 2 deletions
|
|
@ -10,8 +10,9 @@ require 'rack/attack/railtie' if defined?(::Rails)
|
|||
|
||||
module Rack
|
||||
class Attack
|
||||
class MisconfiguredStoreError < StandardError; end
|
||||
class MissingStoreError < StandardError; end
|
||||
class Error < StandardError; end
|
||||
class MisconfiguredStoreError < Error; end
|
||||
class MissingStoreError < Error; end
|
||||
|
||||
autoload :Cache, 'rack/attack/cache'
|
||||
autoload :Check, 'rack/attack/check'
|
||||
|
|
|
|||
Loading…
Reference in a new issue