Closed AnasNaouchi closed 11 months ago
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
68.8% Coverage
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
In the current Netcetera POC branch, we raise errors like OmiseException("Authentication failed.", e)) and sometimes like OmiseException("Authentication failed", e) (note presence of period . on first example).
In Fallback to web flow in case Netcetera 3DS SDK fails by AnasNaouchi · Pull Request #286 · omise/omise-android we do certain actions based on exception raised; the lack of restriction on allowed values will likely lead to bugs.
This PR replaces literal strings with enums where possible.