Exception: Fanforce::Error::InternalError
Instance Attribute Summary
#env, #public_errors
Instance Method Summary
collapse
#curl_command, #for, #format_error, #format_errors, #initialize
Instance Method Details
#code ⇒ Object
83
|
# File 'lib/fanforce/errors/errors.rb', line 83
def code; 500 end
|
#default_error_code ⇒ Object
86
|
# File 'lib/fanforce/errors/errors.rb', line 86
def default_error_code; :unknown end
|
#default_message ⇒ Object
84
|
# File 'lib/fanforce/errors/errors.rb', line 84
def default_message; 'Request Failed for Internal Reason' end
|
#valid_error_codes ⇒ Object
85
|
# File 'lib/fanforce/errors/errors.rb', line 85
def valid_error_codes; [:internal_error, :invalid_fanforce_auth, :user_tampering, :third_party_error] end
|