Exception: Fanforce::Error::Unauthorized
Overview
Could not successfully authenticate
Instance Attribute Summary
#env, #public_errors
Instance Method Summary
collapse
#curl_command, #for, #format_error, #format_errors, #initialize
Instance Method Details
#code ⇒ Object
55
|
# File 'lib/fanforce/errors/errors.rb', line 55
def code; 401 end
|
#default_error_code ⇒ Object
58
|
# File 'lib/fanforce/errors/errors.rb', line 58
def default_error_code; :unauthorized end
|
#default_message ⇒ Object
56
|
# File 'lib/fanforce/errors/errors.rb', line 56
def default_message; 'Unauthorized Request' end
|
#valid_error_codes ⇒ Object
57
|
# File 'lib/fanforce/errors/errors.rb', line 57
def valid_error_codes; [:unauthorized, :unknown_login] end
|