Exception: Yt::NoItemsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yt/no_items_error.rb

Overview

Raised when items are expected from YouTube but none are returned.

Examples:

Fetch the title of a channel with an unknown ID.

Yt::Channel.new(id: 'unknown-id').title
# => raise Yt::NoItemsError