Exception: Octopi::RetryableAPIError

  • RuntimeError
    • Octopi::RetryableAPIError

Attributes

Instance Attributes

code [R] public

Returns the value of attribute code.

Constructor Summary

public initialize(code = nil)
[View source]


14
15
16
17
18
# File 'lib/octopi/error.rb', line 14

def initialize(code=nil)
  @code = code.nil? ? '???' : code
  @message = "GitHub returned status #{@code}. Retrying request."
  super @message
end
Generated on Friday, July 31 2009 at 05:01:55 PM by YARD 0.2.3.2 (ruby-1.8.6).