class Gors::DefaultErrorHandler
Public Instance Methods
error_403()
click to toggle source
# File lib/gors.rb, line 288 def error_403 "<h1>403 Forbidden</h1>" end
error_404()
click to toggle source
# File lib/gors.rb, line 282 def error_404 "<h1>404 Not Found</h1>" end
error_500()
click to toggle source
# File lib/gors.rb, line 285 def error_500 "<h1>500 Internal server error</h1>" end