Exception: Modern::Errors::ForbiddenError
- Defined in:
- lib/modern/errors/web_errors.rb
Instance Method Summary collapse
-
#initialize(msg = "Forbidden") ⇒ ForbiddenError
constructor
A new instance of ForbiddenError.
- #status ⇒ Object
Constructor Details
#initialize(msg = "Forbidden") ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
34 35 36 |
# File 'lib/modern/errors/web_errors.rb', line 34 def initialize(msg = "Forbidden") super(msg) end |
Instance Method Details
#status ⇒ Object
38 39 40 |
# File 'lib/modern/errors/web_errors.rb', line 38 def status 403 end |