class Azu::Response::Error

Included Modules

Direct Known Subclasses

Defined in:

azu/response.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Azu::Response

render render

Constructor Detail

def self.new(title : String, status : HTTP::Status, errors : Array(String)) #

[View source]

Class Method Detail

def self.from_exception(ex, status = 500) #

[View source]

Instance Method Detail

def detail : String #

[View source]
def detail=(detail : String) #

[View source]
def errors : Array(String) #

[View source]
def errors=(errors : Array(String)) #

[View source]
def html(context) #

[View source]
def html #

[View source]
def json #

[View source]
def link #

[View source]
def render(template : String, data) #

[View source]
def render #

[View source]
def source : String #

[View source]
def source=(source : String) #

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

[View source]
def status=(status : HTTP::Status) #

[View source]
def status_code #

[View source]
def text #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def to_s(context : HTTP::Server::Context) #

[View source]
def xml #

[View source]