Exception: Rundeck::Job::JobExecutionQueryBuilder::ValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rundeck-ruby/job.rb

Instance Method Summary collapse

Constructor Details

#initialize(field, value, message = nil) ⇒ ValidationError

Returns a new instance of ValidationError.



50
51
52
53
54
# File 'lib/rundeck-ruby/job.rb', line 50

def initialize(field, value, message=nil)
  msg = "Invalid #{field}: #{value}"
  msg += message unless message==nil
  super(msg)
end