-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PP 284 implementation of outage messages #455
PP 284 implementation of outage messages #455
Conversation
- corresponding strings where added - test 503 error -> `maintenance` type - added the corresponding asset for the visual of this new error PP-284
- corresponding strings where added both en and de - test 500 error -> `outage` type PP-284
…Error` and `unexpectedError` - group texts in localization files PP-284
…tedError` english version PP-284
- the "no internet connection" error wan't handled until now PP-284
…iniError - display generic error messages in case of `noResponse` error PP-284
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! @ValentinaIancu-Gini
🤟🏼
CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Error/ErrorType.swift
Outdated
Show resolved
Hide resolved
CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Error/ErrorType.swift
Outdated
Show resolved
Hide resolved
…error type PP-284
60a6ef6
to
b224651
Compare
…ror to `ErrorType.unexpected` PP-284
@zladzeyka please check again. I fixed the test that was crashing. 🤦 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We agreed that we'll try to refactor SessionManager/handleError. 🍀
@zladzeyka I did the refactoring, fixed one test, and added one more. When you have time please check it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @ValentinaIancu-Gini,
please find the tiny suggestion about a missing whitespace
In this PR, we are handling separately some specific errors: