mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-27 15:07:41 +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
|
module Rack
|
||||||
class Attack
|
class Attack
|
||||||
class MisconfiguredStoreError < StandardError; end
|
class Error < StandardError; end
|
||||||
class MissingStoreError < StandardError; end
|
class MisconfiguredStoreError < Error; end
|
||||||
|
class MissingStoreError < Error; end
|
||||||
|
|
||||||
autoload :Cache, 'rack/attack/cache'
|
autoload :Cache, 'rack/attack/cache'
|
||||||
autoload :Check, 'rack/attack/check'
|
autoload :Check, 'rack/attack/check'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue