Improve error handling

This commit is contained in:
Alfonso Grillo
2023-01-20 17:59:09 +01:00
parent 9e21915a4e
commit 93ae25b998
3 changed files with 14 additions and 8 deletions
@@ -23,7 +23,7 @@ final class MockPollHistoryService: PollHistoryServiceProtocol {
polls.eraseToAnyPublisher()
}
var error: AnyPublisher<Error, Never> {
var error: AnyPublisher<PollHistoryError, Never> {
Empty().eraseToAnyPublisher()
}