Exception: HTTY::NoHeaderError

Inherits:
StandardError
  • Object
show all
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

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