class HTTPException

Overview

An exception type used to generate exceptions that result in specific types of HTTP responses.

Direct Known Subclasses

Defined in:

exceptions.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def code : Int32 #

[View source]
def data : Hash(String, String)? #

[View source]