Exception: Fanforce::Error::InternalError

Inherits:
Fanforce::Error show all
Defined in:
lib/fanforce/errors/errors.rb

Instance Attribute Summary

Attributes inherited from Fanforce::Error

#env, #public_errors

Instance Method Summary collapse

Methods inherited from Fanforce::Error

#curl_command, #for, #format_error, #format_errors, #initialize

Constructor Details

This class inherits a constructor from Fanforce::Error

Instance Method Details

#codeObject



83
# File 'lib/fanforce/errors/errors.rb', line 83

def code; 500 end

#default_error_codeObject



86
# File 'lib/fanforce/errors/errors.rb', line 86

def default_error_code; :unknown end

#default_messageObject



84
# File 'lib/fanforce/errors/errors.rb', line 84

def default_message; 'Request Failed for Internal Reason' end

#valid_error_codesObject



85
# File 'lib/fanforce/errors/errors.rb', line 85

def valid_error_codes; [:internal_error, :invalid_fanforce_auth, :user_tampering, :third_party_error] end