FileError

public struct FileError : LocalizedError, Equatable

An error thrown when an environment file being loaded either doesn’t exist or its source is not encodable.

  • 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?
  • See LocalizedError.

    Declaration

    Swift

    public var errorDescription: String? { get }