Class: DSP::StackTraceResponse
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface StackTraceResponse extends Response {
body: {
/** The frames of the stackframe. If the array has length zero, there are no stackframes available.
This means that there is no location information available.
*/
stackFrames: StackFrame[];
/** The total number of frames available. */
totalFrames?: number;
};
}
Instance Attribute Summary collapse
-
#body ⇒ Object
type: {.
-
#command ⇒ Object
type: {.
-
#message ⇒ Object
type: {.
-
#request_seq ⇒ Object
/** The frames of the stackframe.
-
#seq ⇒ Object
type: {.
-
#success ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ StackTraceResponse
constructor
A new instance of StackTraceResponse.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ StackTraceResponse
Returns a new instance of StackTraceResponse.
2297 2298 2299 2300 |
# File 'lib/dsp/dsp_protocol.rb', line 2297 def initialize(initial_hash = nil) super @optional_method_names = %i[message] end |
Instance Attribute Details
#body ⇒ Object
type: {
2287 2288 2289 |
# File 'lib/dsp/dsp_protocol.rb', line 2287 def body @body end |
#command ⇒ Object
type: {
2287 2288 2289 |
# File 'lib/dsp/dsp_protocol.rb', line 2287 def command @command end |
#message ⇒ Object
type: {
2287 2288 2289 |
# File 'lib/dsp/dsp_protocol.rb', line 2287 def @message end |
#request_seq ⇒ Object
/** The frames of the stackframe. If the array has length zero, there are no stackframes available.
This means that there is no location information available.
*/
stackFrames: StackFrame[];
/** The total number of frames available. */
totalFrames?: number;
}
2295 2296 2297 |
# File 'lib/dsp/dsp_protocol.rb', line 2295 def request_seq @request_seq end |
#seq ⇒ Object
type: {
2287 2288 2289 |
# File 'lib/dsp/dsp_protocol.rb', line 2287 def seq @seq end |
#success ⇒ Object
type: {
2287 2288 2289 |
# File 'lib/dsp/dsp_protocol.rb', line 2287 def success @success end |
#type ⇒ Object
type: {
2287 2288 2289 |
# File 'lib/dsp/dsp_protocol.rb', line 2287 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 |
# File 'lib/dsp/dsp_protocol.rb', line 2302 def from_h!(value) value = {} if value.nil? self.body = value['body'] # Unknown type self.request_seq = value['request_seq'] self.success = value['success'] # Unknown type self.command = value['command'] self. = value['message'] self.seq = value['seq'] self.type = value['type'] self end |