Exception: Mxrb::Environment::ParseError
- Defined in:
- lib/mxrb/environment.rb
Overview
Syntax error with location but never with the offending secret value.
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, line, reason) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(path, line, reason) ⇒ ParseError
Returns a new instance of ParseError.
16 17 18 19 20 |
# File 'lib/mxrb/environment.rb', line 16 def initialize(path, line, reason) @path = path @line = line super("invalid environment file #{path}:#{line}: #{reason}") end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
14 15 16 |
# File 'lib/mxrb/environment.rb', line 14 def line @line end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
14 15 16 |
# File 'lib/mxrb/environment.rb', line 14 def path @path end |