Exception: Gaah::HTTPUnauthorized

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gaah/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ HTTPUnauthorized

Returns a new instance of HTTPUnauthorized.



10
11
12
13
# File 'lib/gaah/exceptions.rb', line 10

def initialize(msg = nil)
  info = "This domain or user does not support Google Apps"
  super("#{info}#{msg.nil? ? '.' : ': '}#{msg}")
end