module CloudParty
  module Errors
    # Page/Endpoint doesn't exist
    class UnauthorizedError < RequestError
      def initialize(obj:, method:, response:, endpoint: nil, code: 401)