# frozen_string_literal: true

module Aspera
  module Cli
    # CLI base exception
    class Error < StandardError; end

    # raised when an unexpected argument is provided
    class BadArgument < Error; end

    class NoSuchIdentifier < Error
      def initialize(res_type, res_id)
        super("#{res_type} with identifier #{res_id} not found")
      end
    end
  end
end
