Exception: Fanforce::Error::NotFound
Overview
Method or record could not be found
Instance Attribute Summary
#env, #public_errors
Instance Method Summary
collapse
#curl_command, #for, #format_error, #format_errors, #initialize
Instance Method Details
#code ⇒ Object
69
|
# File 'lib/fanforce/errors/errors.rb', line 69
def code; 404 end
|
#default_error_code ⇒ Object
72
|
# File 'lib/fanforce/errors/errors.rb', line 72
def default_error_code; :unknown end
|
#default_message ⇒ Object
70
|
# File 'lib/fanforce/errors/errors.rb', line 70
def default_message; 'Not Found' end
|
#valid_error_codes ⇒ Object
71
|
# File 'lib/fanforce/errors/errors.rb', line 71
def valid_error_codes; [:record_not_found, :method_not_found] end
|