10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/maglev-database-explorer/database_views/abstract_exception.rb', line 10
def to_database_view(depth, ranges = {}, params = {})
obj = super
obj[:exception] = true
obj[:inspection] = self.inspect
obj[:gsResumable] = self.instance_variable_get("@_st_gsResumable") != false
obj[:gsTrappable] = self.instance_variable_get("@_st_gsTrappable") != false
obj[:gsNumber] = self.instance_variable_get("@_st_gsNumber")
obj[:isDBEHalt] = self.class == DBEHalt
return obj
end
|