Exception: Graphcommons::APIError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/graphcommons.rb

Overview

Custom error class for Graphcommons API.

Set Graphcommons.verbose to true in order to get stack trace.

Instance Method Summary collapse

Instance Method Details

#backtraceObject

:nodoc:



40
41
42
43
44
45
46
# File 'lib/graphcommons.rb', line 40

def backtrace
  if Graphcommons.verbose
    caller
  else
    []
  end
end