Exception: N::ScriptHandlerError
- Inherits:
-
HandlerError
- Object
- StandardError
- HandlerError
- N::ScriptHandlerError
- Defined in:
- lib/nitro/server/handlers.rb
Overview
ScriptHandlerError
Raise this if an error happens when handling a script.
Instance Attribute Summary collapse
-
#error_line ⇒ Object
readonly
Returns the value of attribute error_line.
Instance Method Summary collapse
-
#initialize(error_line, message = nil) ⇒ ScriptHandlerError
constructor
A new instance of ScriptHandlerError.
Constructor Details
#initialize(error_line, message = nil) ⇒ ScriptHandlerError
Returns a new instance of ScriptHandlerError.
121 122 123 |
# File 'lib/nitro/server/handlers.rb', line 121 def initialize(error_line, = nil) @error_line, @message = error_line, end |
Instance Attribute Details
#error_line ⇒ Object (readonly)
Returns the value of attribute error_line.
119 120 121 |
# File 'lib/nitro/server/handlers.rb', line 119 def error_line @error_line end |