Raygun.Util
This module contains utility functions for formatting particular pieces of stacktrace data into strings.
Summary
file_from(list1) | Given stacktrace information, get the file name |
format_headers(headers) | Headers are a list of Tuples. Convert them to a keyword list |
function_and_arity(function, arity) | Given a function name (atom) and arity (number), return a string in the form func_name/2 |
line_from(list1) | Given stacktrace information, get the line number |
mod_for(module) | Return the module name as a string (binary) |
Functions
Given stacktrace information, get the file name.
Headers are a list of Tuples. Convert them to a keyword list.
Given a function name (atom) and arity (number), return a string in the form func_name/2.
Given stacktrace information, get the line number.
Return the module name as a string (binary).