Class: SeeingIsBelieving::RecordedException

Inherits:
Struct
  • Object
show all
Defined in:
lib/seeing_is_believing/has_exception.rb

Overview

We cannot serialize the actual exception because we do not have any guarantee that its class is defined on the SIB side, so we must use simpler data structures (Strings and arrays)

Instance Attribute Summary collapse

Instance Attribute Details

#backtraceObject

Returns the value of attribute backtrace

Returns:

  • (Object)

    the current value of backtrace



5
6
7
# File 'lib/seeing_is_believing/has_exception.rb', line 5

def backtrace
  @backtrace
end

#class_nameObject

Returns the value of attribute class_name

Returns:

  • (Object)

    the current value of class_name



5
6
7
# File 'lib/seeing_is_believing/has_exception.rb', line 5

def class_name
  @class_name
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



5
6
7
# File 'lib/seeing_is_believing/has_exception.rb', line 5

def message
  @message
end