class Azu::Response::NotFound

Defined in:

azu/response.cr

Constructors

Instance Method Summary

Instance methods inherited from class Azu::Response::Error

detail : String detail, detail=(detail : String) detail=, errors : Array(String) errors, errors=(errors : Array(String)) errors=, html(context)
html
html
, json json, link link, render(template : String, data)
render
render
, source : String source, source=(source : String) source=, status : HTTP::Status status, status=(status : HTTP::Status) status=, status_code status_code, text text, title : String title, title=(title : String) title=, to_s(context : HTTP::Server::Context) to_s, xml xml

Constructor methods inherited from class Azu::Response::Error

new(title : String, status : HTTP::Status, errors : Array(String)) new

Class methods inherited from class Azu::Response::Error

from_exception(ex, status = 500) from_exception

Instance methods inherited from module Azu::Response

render render

Constructor Detail

def self.new(path : String) #

[View source]

Instance Method Detail

def render(template : String, data) #

[View source]