Exception: Lotr::Sdk::Exception::MovieNotSupportedError
- Inherits:
-
StandardError
- Object
- StandardError
- Lotr::Sdk::Exception::MovieNotSupportedError
- Defined in:
- lib/lotr/sdk/exception/movie_not_supported_error.rb
Instance Method Summary collapse
-
#initialize(supported_movies) ⇒ MovieNotSupportedError
constructor
A new instance of MovieNotSupportedError.
Constructor Details
#initialize(supported_movies) ⇒ MovieNotSupportedError
Returns a new instance of MovieNotSupportedError.
7 8 9 10 |
# File 'lib/lotr/sdk/exception/movie_not_supported_error.rb', line 7 def initialize(supported_movies) msg = "This movie ID is not supported. Supported movies are: #{supported_movies.join(" ")}" super(msg) end |