├── .gitignore ├── .slather.yml ├── .swift-version ├── .swiftlint.yml ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── Package.swift ├── README.md ├── Sources ├── SwiftErrorHandler │ ├── Generic │ │ ├── Actions │ │ │ ├── ActionHandler.swift │ │ │ ├── ConfirmableAlert.swift │ │ │ └── RejectableAlert.swift │ │ ├── Alert │ │ │ ├── AlertAction.swift │ │ │ └── AlertController.swift │ │ ├── Extension │ │ │ ├── Error+String.swift │ │ │ └── Result+ErrorHandler.swift │ │ ├── Manager │ │ │ └── ErrorHandler.swift │ │ ├── Matchers │ │ │ └── ErrorMatcher.swift │ │ └── Protocol │ │ │ ├── ErrorAlert.swift │ │ │ └── ErrorHandlerView.swift │ └── iOS │ │ └── Extension │ │ ├── AlertController+UIKit.swift │ │ └── ErrorHandlerView+UIKit.swift └── ios.xcconfig ├── SwiftErrorHandler.podspec └── Tests ├── LinuxMain.swift └── SwiftErrorHandlerTests ├── ActionHandlerTests.swift ├── ErrorHandlerTests.swift ├── ErrorMatcherTests.swift ├── Helpers ├── DispatchGroup+Enter.swift ├── MockedAlert.swift └── MockedView.swift ├── ResultErrorHandlerTests.swift └── XCTestManifests.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/.gitignore -------------------------------------------------------------------------------- /.slather.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/.slather.yml -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.0 2 | -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/.swiftlint.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/README.md -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Actions/ActionHandler.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Actions/ConfirmableAlert.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Actions/ConfirmableAlert.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Actions/RejectableAlert.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Actions/RejectableAlert.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Alert/AlertAction.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Alert/AlertAction.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Alert/AlertController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Alert/AlertController.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Extension/Error+String.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Extension/Error+String.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Extension/Result+ErrorHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Extension/Result+ErrorHandler.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Manager/ErrorHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Manager/ErrorHandler.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Matchers/ErrorMatcher.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Matchers/ErrorMatcher.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Protocol/ErrorAlert.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Protocol/ErrorAlert.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/Generic/Protocol/ErrorHandlerView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/Generic/Protocol/ErrorHandlerView.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/iOS/Extension/AlertController+UIKit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/iOS/Extension/AlertController+UIKit.swift -------------------------------------------------------------------------------- /Sources/SwiftErrorHandler/iOS/Extension/ErrorHandlerView+UIKit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/SwiftErrorHandler/iOS/Extension/ErrorHandlerView+UIKit.swift -------------------------------------------------------------------------------- /Sources/ios.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Sources/ios.xcconfig -------------------------------------------------------------------------------- /SwiftErrorHandler.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/SwiftErrorHandler.podspec -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/LinuxMain.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/ActionHandlerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/ActionHandlerTests.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/ErrorHandlerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/ErrorHandlerTests.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/ErrorMatcherTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/ErrorMatcherTests.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/Helpers/DispatchGroup+Enter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/Helpers/DispatchGroup+Enter.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/Helpers/MockedAlert.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/Helpers/MockedAlert.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/Helpers/MockedView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/Helpers/MockedView.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/ResultErrorHandlerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/ResultErrorHandlerTests.swift -------------------------------------------------------------------------------- /Tests/SwiftErrorHandlerTests/XCTestManifests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanrenne/SwiftErrorHandler/HEAD/Tests/SwiftErrorHandlerTests/XCTestManifests.swift --------------------------------------------------------------------------------