guitsaru/rack-idempotency

View on GitHub
lib/rack/idempotency/errors.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Rack
  class Idempotency
    # For all errors
    class Error < RuntimeError
      attr :env
      def initialize(env)
        @env = env
      end
    end
    
    class InsecureKeyError < Error; end
  end
end