class MediaInfo::BadInputError

Public Class Methods

new(msg=nil) click to toggle source
Calls superclass method
   # File lib/mediainfo/errors.rb
11 def initialize(msg=nil)
12   msg ||= "Input must be: \n" \
13     " - A video or xml file location: '~/videos/test_video.mov' or '~/videos/test_video.xml' \n" \
14     " - A valid URL: 'http://www.site.com/videofile.mov' \n" \
15     " - MediaInfo XML \n"
16   super(msg)
17 end