Updated on 2026-08-14
This commit is contained in:
parent
a7e98802e9
commit
318d3edfa1
2 changed files with 43 additions and 22 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue