Class: ActionFramework::ErrorHandler

Inherits:
Controller show all
Defined in:
lib/actionframework/error_handler.rb

Instance Method Summary collapse

Methods inherited from Controller

#env, #erb, #erb_text, #error_erb, #initialize, #params, #redirect, #request, #response, #session, #url

Constructor Details

This class inherits a constructor from ActionFramework::Controller

Instance Method Details

#error_403Object



12
13
14
# File 'lib/actionframework/error_handler.rb', line 12

def error_403 
	error_erb "403"
end

#error_404Object



4
5
6
# File 'lib/actionframework/error_handler.rb', line 4

def error_404
	error_erb "404"
end

#error_500Object



8
9
10
# File 'lib/actionframework/error_handler.rb', line 8

def error_500
	error_erb "500"
end