Exception: Gaah::HTTPForbidden
- Inherits:
-
StandardError
- Object
- StandardError
- Gaah::HTTPForbidden
- Defined in:
- lib/gaah/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ HTTPForbidden
constructor
A new instance of HTTPForbidden.
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 |