class

Honeybadger::HttpPayload

Inherits Honeybadger::Payload / Reference / Object

An HttpPayload renders request metadata in addition to the Exception data provided by Payload, and should be used for errors which happen during an HTTP::Server request cycle.

Constructors

new(exception : Exception, http_request : HTTP::Request)
Source

Instance methods

exception

:inherit:

Source
http_request

The request in which the exception was triggered.

Source
request_json(builder)

Renders the "request" stanza of the json payload.

Source