Exception: Anzu::MediaUploadError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/anzu/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(code, name, message) ⇒ MediaUploadError

Returns a new instance of MediaUploadError.



18
19
20
21
22
23
# File 'lib/anzu/errors.rb', line 18

def initialize(code, name, message)
  @code = code
  @name = name
  @message = message
  super("#{code}: #{name} - #{message}")
end