class CloudParty::Errors::UnauthorizedError

Page/Endpoint doesn't exist

Public Class Methods

error_string() click to toggle source
# File lib/cloud_party/exceptions/request_errors/unauthorized_error.rb, line 12
      def self.error_string
        <<~HEREDOC
          There was a '401 -- Unauthorized' error.
        HEREDOC
      end
extra_string() click to toggle source
# File lib/cloud_party/exceptions/request_errors/unauthorized_error.rb, line 18
      def self.extra_string
        <<~HEREDOC
          VERB: #{@method}

        HEREDOC
      end
new(obj:, method:, response:, endpoint: nil, code: 401) click to toggle source
Calls superclass method CloudParty::Errors::RequestError::new
# File lib/cloud_party/exceptions/request_errors/unauthorized_error.rb, line 8
def initialize(obj:, method:, response:, endpoint: nil, code: 401)
  super
end