class UnauthorizedException

Overview

An exception type for the Unauthorized HTTP status.

Defined in:

exceptions.cr

Constructors

Instance methods inherited from class HTTPException

code : Int32 code, data : Hash(String, String)? data

Constructor methods inherited from class HTTPException

new(message, code : Int32 = 400, data : Hash(String, String) | Nil = nil) new

Constructor Detail

def self.new(message, data : Hash(String, String) | Nil = nil) #

[View source]