class Azu::Response::BadRequest

Defined in:

azu/response.cr

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

Instance Method Detail

def detail : String #

[View source]
def status : HTTP::Status #

[View source]
def title : String #

[View source]