File: exceptions.rb

package info (click to toggle)
ruby-httpauth 0.2.1%2Bgh-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 192 kB
  • sloc: ruby: 925; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
module HTTPAuth
  # Raised when the library finds data that doesn't conform to the standard
  class UnwellformedHeader < ArgumentError; end
  # Raised when the library finds data that is not strictly forbidden but doesn't know how to handle.
  class UnsupportedError < ArgumentError; end
  # Raise when validation on the request failed, most of the times this means that someone is trying to do replay attacks.
  class ValidationError < ArgumentError; end
end