Exception: Gaah::HTTPForbidden

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ HTTPForbidden

Returns a new instance of HTTPForbidden.



3
4
5
6
# File 'lib/gaah/exceptions.rb', line 3

def initialize(msg = nil)
  info = "You do not have the necessary permissions to perform this action on this domain"
  super("#{info}#{msg.nil? ? '.' : ': '}#{msg}")
end