mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 11:13:28 +01:00
Create swift package
This commit is contained in:
12
Sources/Cargo/swiftlint/Helpers/SwiftLintError.swift
Normal file
12
Sources/Cargo/swiftlint/Helpers/SwiftLintError.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
import Foundation
|
||||
|
||||
enum SwiftLintError: LocalizedError {
|
||||
case usageError(description: String)
|
||||
|
||||
var errorDescription: String? {
|
||||
switch self {
|
||||
case .usageError(let description):
|
||||
return description
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user