ErrorContext
public struct ErrorContext
ErrorContext
encapsulates all of the available debugging information about an function in a Link
.
-
The error which this context encapsulates.
Declaration
Swift
public let error: Error
-
The file where the erroring
Link
was created.Declaration
Swift
public let file: StaticString
-
The line where the erroring
Link
was created.Declaration
Swift
public let line: UInt
-
An Array of String representing the internal path of
Links
which result in the erroringLink
. The internal path may not seem similar to the declaring chain which generated it. The differences are due to internal function manipulations to support the various chain parameter types. For example, the internal chain may have more links than the declaring chain.Declaration
Swift
public let internalPath: [String]