class Alfodr::Controller::Error

Defined in:

alfodr/controller/error.cr

Constructors

Instance Method Summary

Instance methods inherited from class Alfodr::Controller::Base

client_ip(*args, **options)
client_ip(*args, **options, &)
client_ip
, delete?(*args, **options)
delete?(*args, **options, &)
delete?
, format(*args, **options)
format(*args, **options, &)
format
, get?(*args, **options)
get?(*args, **options, &)
get?
, halt!(*args, **options)
halt!(*args, **options, &)
halt!
, head?(*args, **options)
head?(*args, **options, &)
head?
, logger(*args, **options)
logger(*args, **options, &)
logger
, patch?(*args, **options)
patch?(*args, **options, &)
patch?
, port(*args, **options)
port(*args, **options, &)
port
, post?(*args, **options)
post?(*args, **options, &)
post?
, put?(*args, **options)
put?(*args, **options, &)
put?
, request(*args, **options)
request(*args, **options, &)
request
, requested_url(*args, **options)
requested_url(*args, **options, &)
requested_url
, response(*args, **options)
response(*args, **options, &)
response
, route(*args, **options)
route(*args, **options, &)
route
, valve(*args, **options)
valve(*args, **options, &)
valve
, websocket?(*args, **options)
websocket?(*args, **options, &)
websocket?

Constructor methods inherited from class Alfodr::Controller::Base

new(context : HTTP::Server::Context) new

Instance methods inherited from module Alfodr::Controller::Helpers::Route

action_name action_name, controller_name controller_name, controller_name_no_underscore controller_name_no_underscore, route_resource route_resource, route_scope route_scope

Constructor Detail

def self.new(context : HTTP::Server::Context, ex : Exception) #

[View source]

Instance Method Detail

def forbidden #

[View source]
def internal_server_error #

[View source]
def not_found #

[View source]