Fullscreen/yt-core

View on GitHub
lib/yt/no_items_error.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Yt
  # Raised when items are expected from YouTube but none are returned.
  # @example Fetch the title of a channel with an unknown ID.
  #   Yt::Channel.new(id: 'unknown-id').title
  #   # => raise Yt::NoItemsError
  class NoItemsError < StandardError
  end
end