Exception: Hydra::Derivatives::Processors::ActiveEncodeError
- Inherits:
-
StandardError
- Object
- StandardError
- Hydra::Derivatives::Processors::ActiveEncodeError
- Defined in:
- lib/hydra/derivatives/processors/active_encode.rb
Instance Method Summary collapse
-
#initialize(status, source_path, errors = []) ⇒ ActiveEncodeError
constructor
A new instance of ActiveEncodeError.
Constructor Details
#initialize(status, source_path, errors = []) ⇒ ActiveEncodeError
Returns a new instance of ActiveEncodeError.
6 7 8 9 10 |
# File 'lib/hydra/derivatives/processors/active_encode.rb', line 6 def initialize(status, source_path, errors = []) msg = "ActiveEncode status was \"#{status}\" for #{source_path}" msg = "#{msg}: #{errors.join(' ; ')}" if errors.any? super(msg) end |