trial.stackresult

A module containing custom exceptions for display convenience

Members

Classes

MockPrinter
class MockPrinter
Undocumented in source.
StackResult
class StackResult

Used to display the stack

StackResult
class StackResult

Used to display the stack

TestExceptionWrapper
class TestExceptionWrapper

Functions

toDarwinFrame
Frame toDarwinFrame(string line)

Parse a MacOS string frame

toFrame
Frame toFrame(string line)

Converts a stack trace line to a Frame structure

toGLibCFrame
Frame toGLibCFrame(string line)

Parse a GLibC string frame

toLinuxFrame
Frame toLinuxFrame(string line)

Parse a Linux frame

toMissingInfoLinuxFrame
Frame toMissingInfoLinuxFrame(string line)

Parse a Linux frame

toNetBsdFrame
Frame toNetBsdFrame(string line)

Parse a NetBsd string frame

toTestException
auto toTestException(Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
toTestException
TestException toTestException(Throwable t)

Converts a Throwable to a TestException which improves the failure verbosity

toWindows1Frame
Frame toWindows1Frame(string line)
toWindows2Frame
Frame toWindows2Frame(string line)

Parse a Windows string frame

Static variables

address
string address;
Undocumented in source.
file
string file;
Undocumented in source.
index
string index;
Undocumented in source.
linePattern
string linePattern;
Undocumented in source.
moduleName
string moduleName;
Undocumented in source.
name
string name;
Undocumented in source.
offset
string offset;
Undocumented in source.

Structs

ExternalValidator
struct ExternalValidator

A structure that allows you to detect which modules are relevant to display

Frame
struct Frame

Represents a stack frame

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Szabo Bogdan