Exception: HTTY::NoHeaderError
- Inherits:
-
StandardError
- Object
- StandardError
- HTTY::NoHeaderError
- Defined in:
- lib/htty/no_header_error.rb
Overview
Indicates that an header could not be found in a HTTY::Payload
Instance Method Summary collapse
-
#initialize(key) ⇒ NoHeaderError
constructor
A new instance of NoHeaderError.
Constructor Details
#initialize(key) ⇒ NoHeaderError
Returns a new instance of NoHeaderError.
6 7 8 |
# File 'lib/htty/no_header_error.rb', line 6 def initialize(key) super "header #{key} not found" end |