Exception: BooticClient::TransportError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bootic_client/errors.rb

Direct Known Subclasses

ClientError, ServerError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, url = nil) ⇒ TransportError

Returns a new instance of TransportError.



6
7
8
9
# File 'lib/bootic_client/errors.rb', line 6

def initialize(msg = nil, url = nil)
  super(msg)
  @url = url
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/bootic_client/errors.rb', line 5

def url
  @url
end