Exception: CrossPlane::NgxParserDirectiveError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/crossplane/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(reason, filename, lineno) ⇒ NgxParserDirectiveError

Returns a new instance of NgxParserDirectiveError.



26
27
28
29
30
31
32
# File 'lib/crossplane/errors.rb', line 26

def initialize(reason, filename, lineno)
	@reason = reason
	@filename = filename
	@lineno = lineno
	@error = (format('%s in %s:%s', @reason, @filename, @lineno))
	super(@error)
end