Exception: Protor::InvalidLabelNameError

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

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidLabelNameError

Returns a new instance of InvalidLabelNameError.



50
51
52
# File 'lib/protor/entry.rb', line 50

def initialize(message)
  super("Invalid label name #{message}, please satisfy /^[a-zA-Z_][a-zA-Z0-9_]*$/")
end