Exception: CustomErrors::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jenkins_pipeline_builder/custom_errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg, path = nil) ⇒ ParseError

Returns a new instance of ParseError.



3
4
5
# File 'lib/jenkins_pipeline_builder/custom_errors.rb', line 3

def initialize(msg, path = nil)
  super(format_msg(msg, path).squeeze(' '))
end