Class: Google::Cloud::Debugger::TransmitterError

Inherits:
Error
  • Object
show all
Defined in:
lib/google/cloud/debugger/transmitter.rb

Overview

TransmitterError

Used to indicate a problem submitting breakpoints. This can occur when there are not enough resources allocated for the amount of usage, or when the calling the API returns an error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, breakpoint = nil) ⇒ TransmitterError

Returns a new instance of TransmitterError.



36
37
38
39
# File 'lib/google/cloud/debugger/transmitter.rb', line 36

def initialize message, breakpoint = nil
  super message
  @breakpoint = breakpoint
end

Instance Attribute Details

#breakpointObject (readonly)

Returns the value of attribute breakpoint.



34
35
36
# File 'lib/google/cloud/debugger/transmitter.rb', line 34

def breakpoint
  @breakpoint
end