Exception: AlbumCredits::NoReleasesFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/album_credits/exceptions.rb

Instance Method Summary collapse

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