Class: Rox::Core::UserspaceUnhandledErrorArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/rox/core/error_handling/userspace_unhandled_error_invoker.rb

Instance Method Summary collapse

Constructor Details

#initialize(exception_source = nil, exception_trigger = nil, exception = nil) ⇒ UserspaceUnhandledErrorArgs

Returns a new instance of UserspaceUnhandledErrorArgs.



30
31
32
33
34
# File 'lib/rox/core/error_handling/userspace_unhandled_error_invoker.rb', line 30

def initialize(exception_source = nil, exception_trigger = nil, exception = nil)
  @exception_source = exception_source
  @exception_trigger = exception_trigger
  @exception = exception
end

Instance Method Details

#to_sObject



36
37
38
# File 'lib/rox/core/error_handling/userspace_unhandled_error_invoker.rb', line 36

def to_s
  "UserspaceUnhandledErrorArgs(#{@exception_source}, #{@exception_trigger}, #{@exception})"
end