Exception: Hydra::Derivatives::Processors::ActiveEncodeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hydra/derivatives/processors/active_encode.rb

Instance Method Summary collapse

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