NAME
WebService::Raygun::Message::Error - Encapsulate the error part of the raygion.io request.
SYNOPSIS
use WebService::Raygun::Message::Error;
DESCRIPTION
You shouldn't need to instantiate this class directly as WebService::Raygun::Message will automatically coerce a number of different object types into this by default. At the moment the following types are supported:
I may add more in the future.
INTERFACE
data
HASHREF
Data for debugging the error.
class_name
The name of the error.
message
An error message.
stack_trace
An array of stack traces.
prepare_raygun
Prepare the error structure to be converted to JSON and sent to raygun.io.