class CloudParty::Errors::NotFoundError
Page/Endpoint doesn't exist
Public Class Methods
error_string()
click to toggle source
# File lib/cloud_party/exceptions/request_errors/not_found_error.rb, line 12 def self.error_string <<~HEREDOC There was a '404 -- Not Found' error. HEREDOC end
extra_string()
click to toggle source
# File lib/cloud_party/exceptions/request_errors/not_found_error.rb, line 18 def self.extra_string <<~HEREDOC VERB: #{@method} HEREDOC end
new(obj:, method:, response:, endpoint: nil, code: 404)
click to toggle source
Calls superclass method
CloudParty::Errors::RequestError::new
# File lib/cloud_party/exceptions/request_errors/not_found_error.rb, line 8 def initialize(obj:, method:, response:, endpoint: nil, code: 404) super end