Skip to content

Commit

Permalink
Remove unused Error enum
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif committed Feb 1, 2024
1 parent 955a0fc commit 48c384d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import Foundation

extension FileManager {
enum FileError: String, LocalizedError {
case invalidStringFromData = "String could not be converted into Data."

var errorDescription: String? { rawValue }
}

/// Gets the documentDirectory from FileManager and appends "/App". Otherwise if it can not get the documents directory is will return "~/App".
public static var defaultFileStatePath: String {
let fileManager: FileManager = Application.dependency(\.fileManager)
Expand Down

0 comments on commit 48c384d

Please sign in to comment.