raygun v0.4.0 Raygun.Format View Source
This module builds payloads of error messages that Raygun will understand. These functions return maps of data which will be encoding as JSON prior to submission to Raygun.
Link to this section Summary
Functions
Builds an error payload that Raygun will understand for an exception that was caught in our Plug.
Return custom information. Tags are configured per application via config and user custom data can be provided per error.
Returns deatils about the client and server machine.
Return a map of information about the environment in which the bug was encountered.
Given a stacktrace and an exception, return a map with the error data.
Builds an error payload that Raygun will understand for a string.
Given a Plug Conn return a map containing information about the request.
Given a Plug Conn return a map containing information about the response.
Given a stacktrace return a list of maps for the frames.
Given a stacktrace frame, return a map with the information in a structure that Raygun will understand.
Builds an error payload that Raygun will understand for an exception and its corresponding stacktrace.
Get the logged in user from the opts if one is provided. If not, it gets the system user if one is specified.
Link to this section Functions
Builds an error payload that Raygun will understand for an exception that was caught in our Plug.
Return custom information. Tags are configured per application via config and user custom data can be provided per error.
Returns deatils about the client and server machine.
Return a map of information about the environment in which the bug was encountered.
Given a stacktrace and an exception, return a map with the error data.
Builds an error payload that Raygun will understand for a string.
Given a Plug Conn return a map containing information about the request.
Given a Plug Conn return a map containing information about the response.
Given a stacktrace return a list of maps for the frames.
Given a stacktrace frame, return a map with the information in a structure that Raygun will understand.
Builds an error payload that Raygun will understand for an exception and its corresponding stacktrace.
Get the logged in user from the opts if one is provided. If not, it gets the system user if one is specified.