Exception: N::App::ScriptHandlerError
- Inherits:
-
HandlerError
- Object
- StandardError
- HandlerError
- N::App::ScriptHandlerError
- Defined in:
- lib/n/app/handlers.rb
Overview
Handler Error. raise this if an error happens when handling a request
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.
114 115 116 |
# File 'lib/n/app/handlers.rb', line 114 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.
112 113 114 |
# File 'lib/n/app/handlers.rb', line 112 def error_line @error_line end |