Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-26 14:34:05 +02:00
parent a7e98802e9
commit 318d3edfa1
2 changed files with 43 additions and 22 deletions

View file

@ -36,13 +36,14 @@ class StatusCodeInterceptor : Interceptor {
}
private fun getBody(): String {
return "\"error\": {\n" +
" \"code\": 2290,\n" +
" \"description\": \"Core: receivedDecimals is not equal to expressDecimals\",\n" +
return "{\n" +
" \"error\": {\n" +
" \"code\": 2250,\n" +
" \"description\": \"Core: exchange too small amount\",\n" +
" \"message\": \"Not valid\",\n" +
" \"receivedToDecimals\": 5,\n" +
" \"expressToDecimals\": 5\n" +
" }"
" \"minAmount\": 5\n" +
" }\n" +
"}"
}
companion object {