Class: Ferrum::Network::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/ferrum/network/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#canceled=(value) ⇒ Object (writeonly)

Sets the attribute canceled

Parameters:

  • value

    the value to set the attribute canceled to.



6
7
8
# File 'lib/ferrum/network/error.rb', line 6

def canceled=(value)
  @canceled = value
end

#descriptionObject

Returns the value of attribute description.



8
9
10
# File 'lib/ferrum/network/error.rb', line 8

def description
  @description
end

#error_textObject

Returns the value of attribute error_text.



8
9
10
# File 'lib/ferrum/network/error.rb', line 8

def error_text
  @error_text
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/ferrum/network/error.rb', line 8

def id
  @id
end

#monotonic_timeObject

Returns the value of attribute monotonic_time.



8
9
10
# File 'lib/ferrum/network/error.rb', line 8

def monotonic_time
  @monotonic_time
end

#timeObject (readonly)

Returns the value of attribute time.



7
8
9
# File 'lib/ferrum/network/error.rb', line 7

def time
  @time
end

#timestampObject

Returns the value of attribute timestamp.



7
8
9
# File 'lib/ferrum/network/error.rb', line 7

def timestamp
  @timestamp
end

#typeObject

Returns the value of attribute type.



8
9
10
# File 'lib/ferrum/network/error.rb', line 8

def type
  @type
end

#urlObject

Returns the value of attribute url.



8
9
10
# File 'lib/ferrum/network/error.rb', line 8

def url
  @url
end

Instance Method Details

#canceled?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/ferrum/network/error.rb', line 10

def canceled?
  @canceled
end