Exception: Heathen::InvalidMimeTypeInStep

Inherits:
StepError show all
Defined in:
lib/heathen/errors.rb

Overview

Raised if the task step can't handle the input mime type

Instance Method Summary collapse

Constructor Details

#initialize(expected, got) ⇒ InvalidMimeTypeInStep

Returns a new instance of InvalidMimeTypeInStep.


34
35
36
# File 'lib/heathen/errors.rb', line 34

def initialize expected, got
  super "Invalid mime_type (expected /#{expected}/, got '#{got}')"
end