ErrorType

public enum ErrorType : LocalizedError

A collection of all error types that can occur.

  • Fired when an environment file is not encodable.

    Declaration

    Swift

    case fileNotEncodable
  • Fired when an environment file can’t be found in the file system.

    Declaration

    Swift

    case fileNotFound
  • Fired when the name of an environment variable has an invalid character.

    Declaration

    Swift

    case invalidVariableName(_: String)
  • Fired when the value of an environment variable is invalid.

    Declaration

    Swift

    case invalidVariableValue(_: String)
  • Fired as a fallback for an unknown error.

    Declaration

    Swift

    case unknownedError
  • Fired when the value of an environment variable is not closed with double quotes.

    Declaration

    Swift

    case unterminatedString
  • See LocalizedError.

    Declaration

    Swift

    public var errorDescription: String? { get }