Class: Gors::DefaultErrorHandler
- Inherits:
-
ErrorHelper
- Object
- ErrorHelper
- Gors::DefaultErrorHandler
- Defined in:
- lib/gors.rb
Instance Method Summary collapse
Methods inherited from ErrorHelper
Instance Method Details
#error_403 ⇒ Object
288 289 290 |
# File 'lib/gors.rb', line 288 def error_403 "<h1>403 Forbidden</h1>" end |
#error_404 ⇒ Object
282 283 284 |
# File 'lib/gors.rb', line 282 def error_404 "<h1>404 Not Found</h1>" end |
#error_500 ⇒ Object
285 286 287 |
# File 'lib/gors.rb', line 285 def error_500 "<h1>500 Internal server error</h1>" end |