class Azu::Response::AuthorizationError

Direct Known Subclasses

Defined in:

azu/response.cr

Constructors

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

context : ErrorContext | Nil context, context=(context : ErrorContext | Nil) context=, detail : String detail, detail=(detail : String) detail=, error_id : String error_id, error_id=(error_id : String) error_id=, errors : Array(String) errors, errors=(errors : Array(String)) errors=, fingerprint : String fingerprint, fingerprint=(fingerprint : String) fingerprint=, 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), context : Azu::ErrorContext | Nil = nil) new

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

from_exception(ex, status = 500, context : ErrorContext | Nil = nil) from_exception

Instance methods inherited from module Azu::Response

render render

Constructor Detail

def self.new(message = "Insufficient permissions", context : ErrorContext | Nil = nil) #

[View source]