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


5
6
7
8
9
# File 'lib/hydra/derivatives/processors/active_encode.rb', line 5

def initialize(status, source_path, errors = [])
  msg = "ActiveEncode status was \"#{status}\" for #{source_path}"
  msg = "#{msg}: #{errors.join(' ; ')}" if errors.any?
  super(msg)
end