Structure
ErrorSource
A source-code location.
struct ErrorSource
Topics
Initializers
init(file:function:line:column:range:)Creates a newSourceLocation
Instance Properties
columnNumber of characters into the line this location starts at.fileFile in which this location exists.functionFunction in which this location exists.lineLine number this location belongs to.rangeOptional start/end range of the source.
Type Methods
capture(file:function:line:column:range:)Creates a newErrorSourcefor the current call site.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype