SyntaxError

public struct SyntaxError : LocalizedError, Equatable

An error thrown when the source of an environment file being parsed is invalid.

  • An absolute path to an environment file where an error occured. Defaults to nil when an instance of File is created without a path.

    Declaration

    Swift

    public let filePath: String?
  • A line in an environment file where an error occured.

    Declaration

    Swift

    public let line: Int
  • A column in an environment file where an error occured.

    Declaration

    Swift

    public let column: Int
  • See LocalizedError.

    Declaration

    Swift

    public var errorDescription: String? { get }