Exception: N::App::ScriptHandlerError

Inherits:
HandlerError
  • Object
show all
Defined in:
lib/n/app/handlers.rb

Overview

Handler Error. raise this if an error happens when handling a request

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message = nil)
	@error_line, @message = error_line, message
end

Instance Attribute Details

#error_lineObject (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