Exception: WeebSh::Err::InvalidMIME

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/weeb/err.rb

Overview

Raised when an invalid mime type was given.

Instance Method Summary collapse

Instance Method Details

#messageObject

The default message for the error



39
40
41
# File 'lib/weeb/err.rb', line 39

def message
  'You gave an unsupported MIME type!'
end