stacky
Types
pub type ErlangFileName {
ErlangFileName(String)
}
Constructors
-
ErlangFileName(String)
pub type ErlangLineNumber {
ErlangLineNumber(Int)
}
Constructors
-
ErlangLineNumber(Int)
pub type ErlangModuleName {
ErlangModuleName(String)
}
Constructors
-
ErlangModuleName(String)
pub type FunctionArity {
FunctionArity(Int)
}
Constructors
-
FunctionArity(Int)
pub type FunctionName {
FunctionName(String)
}
Constructors
-
FunctionName(String)
pub type StackFrame {
StackFrame(
erlang_module_name: ErlangModuleName,
function_name: FunctionName,
function_arity: FunctionArity,
erlang_file_name: ErlangFileName,
erlang_line_number: ErlangLineNumber,
)
}
Constructors
-
StackFrame( erlang_module_name: ErlangModuleName, function_name: FunctionName, function_arity: FunctionArity, erlang_file_name: ErlangFileName, erlang_line_number: ErlangLineNumber, )
pub type StackFrameTuple =
#(String, String, Int, String, Int)
pub type StackTrace {
StackTrace(List(StackFrame))
}
Constructors
-
StackTrace(List(StackFrame))
Functions
pub fn erlang_file_name(stack_frame: StackFrame) -> String
pub fn erlang_line_number(stack_frame: StackFrame) -> Int
pub fn erlang_module_name(stack_frame: StackFrame) -> String
pub fn frame_to_string(stack_frame: StackFrame) -> String
pub fn function_arity(stack_frame: StackFrame) -> Int
pub fn function_name(stack_frame: StackFrame) -> String
pub fn gleam_module_name(stack_frame: StackFrame) -> String
pub fn print_frame_ln(stack_frame: StackFrame) -> Nil