Exception: CrossPlane::NgxParserDirectiveError
- Inherits:
-
StandardError
- Object
- StandardError
- CrossPlane::NgxParserDirectiveError
- Defined in:
- lib/crossplane/errors.rb
Instance Method Summary collapse
-
#initialize(reason, filename, lineno) ⇒ NgxParserDirectiveError
constructor
A new instance of NgxParserDirectiveError.
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 |