Exception: Exception

Defined in:
lib/error.rb

Overview

adding additional fields to Exception class to format errors according to OT-API

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorCauseObject

Returns the value of attribute errorCause.



4
5
6
# File 'lib/error.rb', line 4

def errorCause
  @errorCause
end

Instance Method Details

#http_codeObject



5
# File 'lib/error.rb', line 5

def http_code; 500; end