SwiftLint/Source/SwiftLintCore/Models/ConfigurationError.swift

15 lines
494 B
Swift

/// All possible configuration errors.
public enum ConfigurationError: Error, Equatable {
/// The configuration didn't match internal expectations.
case unknownConfiguration
/// The configuration had both `match_kind` and `excluded_match_kind` parameters.
case ambiguousMatchKindParameters
/// A generic configuration error specified by a string.
case generic(String)
/// The initial configuration file was not found.
case initialFileNotFound(path: String)
}