Exception: Protor::InvalidTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/protor/entry.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidTypeError

Returns a new instance of InvalidTypeError.



44
45
46
# File 'lib/protor/entry.rb', line 44

def initialize(message)
  super("Invalid type #{message}, allowed types are [c, g, h]")
end