├── .editorconfig ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .spi.yml ├── .swift-format ├── .swiftformat ├── .swiftpm └── xcode │ ├── package.xcworkspace │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ └── xcschemes │ ├── ErrorKit-Package.xcscheme │ ├── ErrorKit.xcscheme │ └── ErrorKitClient.xcscheme ├── LICENSE ├── Logo.png ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── ErrorKit │ ├── BuiltInErrors │ ├── DatabaseError.swift │ ├── FileError.swift │ ├── GenericError.swift │ ├── NetworkError.swift │ ├── OperationError.swift │ ├── ParsingError.swift │ ├── PermissionError.swift │ ├── StateError.swift │ └── ValidationError.swift │ ├── Catching.swift │ ├── ErrorKit.docc │ ├── ErrorKit.md │ ├── Guides │ │ ├── Built-in-Error-Types.md │ │ ├── Enhanced-Error-Descriptions.md │ │ ├── Error-Chain-Debugging.md │ │ ├── Throwable-Protocol.md │ │ ├── Typed-Throws-and-Error-Nesting.md │ │ └── User-Feedback-with-Logs.md │ ├── Resources │ │ ├── BuiltInErrorTypes.jpg │ │ ├── EnhancedDescriptions.jpg │ │ ├── ErrorChainDebugging.jpg │ │ ├── ErrorKit.png │ │ ├── Logo.png │ │ ├── ThrowableProtocol.jpg │ │ ├── TypedThrowsAndNesting.jpg │ │ └── UserFeedbackWithLogs.jpg │ └── theme-settings.json │ ├── ErrorKit.swift │ ├── ErrorMapper.swift │ ├── ErrorMappers │ ├── CoreDataErrorMapper.swift │ ├── FoundationErrorMapper.swift │ └── MapKitErrorMapper.swift │ ├── Helpers │ ├── Logger+ErrorKit.swift │ └── String+ErrorKit.swift │ ├── Logging │ ├── ErrorKit+OSLog.swift │ ├── MailAttachment.swift │ ├── MailComposerModifier.swift │ └── MailComposerView.swift │ ├── Resources │ ├── Localizable.xcstrings │ └── PrivacyInfo.xcprivacy │ ├── Throwable.swift │ └── TypedOverloads │ ├── FileManager+ErrorKit.swift │ └── URLSession+ErrorKit.swift └── Tests └── ErrorKitTests ├── ErrorKitTests.swift └── ThrowableTests.swift /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.gitignore -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.spi.yml -------------------------------------------------------------------------------- /.swift-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.swift-format -------------------------------------------------------------------------------- /.swiftformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.swiftformat -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /.swiftpm/xcode/xcshareddata/xcschemes/ErrorKit-Package.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.swiftpm/xcode/xcshareddata/xcschemes/ErrorKit-Package.xcscheme -------------------------------------------------------------------------------- /.swiftpm/xcode/xcshareddata/xcschemes/ErrorKit.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.swiftpm/xcode/xcshareddata/xcschemes/ErrorKit.xcscheme -------------------------------------------------------------------------------- /.swiftpm/xcode/xcshareddata/xcschemes/ErrorKitClient.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/.swiftpm/xcode/xcshareddata/xcschemes/ErrorKitClient.xcscheme -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/LICENSE -------------------------------------------------------------------------------- /Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Logo.png -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/README.md -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/DatabaseError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/DatabaseError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/FileError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/FileError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/GenericError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/GenericError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/NetworkError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/NetworkError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/OperationError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/OperationError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/ParsingError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/ParsingError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/PermissionError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/PermissionError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/StateError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/StateError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/BuiltInErrors/ValidationError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/BuiltInErrors/ValidationError.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Catching.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Catching.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/ErrorKit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/ErrorKit.md -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Guides/Built-in-Error-Types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Guides/Built-in-Error-Types.md -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Guides/Enhanced-Error-Descriptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Guides/Enhanced-Error-Descriptions.md -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Guides/Error-Chain-Debugging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Guides/Error-Chain-Debugging.md -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Guides/Throwable-Protocol.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Guides/Throwable-Protocol.md -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Guides/Typed-Throws-and-Error-Nesting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Guides/Typed-Throws-and-Error-Nesting.md -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Guides/User-Feedback-with-Logs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Guides/User-Feedback-with-Logs.md -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/BuiltInErrorTypes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/BuiltInErrorTypes.jpg -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/EnhancedDescriptions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/EnhancedDescriptions.jpg -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/ErrorChainDebugging.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/ErrorChainDebugging.jpg -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/ErrorKit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/ErrorKit.png -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/Logo.png -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/ThrowableProtocol.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/ThrowableProtocol.jpg -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/TypedThrowsAndNesting.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/TypedThrowsAndNesting.jpg -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/Resources/UserFeedbackWithLogs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/Resources/UserFeedbackWithLogs.jpg -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.docc/theme-settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.docc/theme-settings.json -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorKit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorKit.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorMapper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorMapper.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorMappers/CoreDataErrorMapper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorMappers/CoreDataErrorMapper.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorMappers/FoundationErrorMapper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorMappers/FoundationErrorMapper.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/ErrorMappers/MapKitErrorMapper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/ErrorMappers/MapKitErrorMapper.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Helpers/Logger+ErrorKit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Helpers/Logger+ErrorKit.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Helpers/String+ErrorKit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Helpers/String+ErrorKit.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Logging/ErrorKit+OSLog.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Logging/ErrorKit+OSLog.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Logging/MailAttachment.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Logging/MailAttachment.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Logging/MailComposerModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Logging/MailComposerModifier.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Logging/MailComposerView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Logging/MailComposerView.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/Resources/Localizable.xcstrings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Resources/Localizable.xcstrings -------------------------------------------------------------------------------- /Sources/ErrorKit/Resources/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Resources/PrivacyInfo.xcprivacy -------------------------------------------------------------------------------- /Sources/ErrorKit/Throwable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/Throwable.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/TypedOverloads/FileManager+ErrorKit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/TypedOverloads/FileManager+ErrorKit.swift -------------------------------------------------------------------------------- /Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Sources/ErrorKit/TypedOverloads/URLSession+ErrorKit.swift -------------------------------------------------------------------------------- /Tests/ErrorKitTests/ErrorKitTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Tests/ErrorKitTests/ErrorKitTests.swift -------------------------------------------------------------------------------- /Tests/ErrorKitTests/ThrowableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlineDev/ErrorKit/HEAD/Tests/ErrorKitTests/ThrowableTests.swift --------------------------------------------------------------------------------