Exception: AlbumCredits::NoReleasesFound
- Inherits:
-
StandardError
- Object
- StandardError
- AlbumCredits::NoReleasesFound
- Defined in:
- lib/album_credits/exceptions.rb
Instance Method Summary collapse
-
#initialize(artist, album) ⇒ NoReleasesFound
constructor
A new instance of NoReleasesFound.
Constructor Details
#initialize(artist, album) ⇒ NoReleasesFound
Returns a new instance of NoReleasesFound.
5 6 7 8 |
# File 'lib/album_credits/exceptions.rb', line 5 def initialize(artist, album) msg = "No releases found for Artist: #{artist} Album: #{album}" super(msg) end |