chore: new router error `no positive balance` added
This commit is contained in:
parent
9c4890698a
commit
3cf6614082
|
@ -212,6 +212,8 @@ QtObject {
|
||||||
return qsTr("not enough ETH")
|
return qsTr("not enough ETH")
|
||||||
case Constants.routerErrorCodes.router.errLowAmountInForHopBridge:
|
case Constants.routerErrorCodes.router.errLowAmountInForHopBridge:
|
||||||
return qsTr("amount in too low")
|
return qsTr("amount in too low")
|
||||||
|
case Constants.routerErrorCodes.router.errNoPositiveBalance:
|
||||||
|
return qsTr("no positive balance")
|
||||||
default:
|
default:
|
||||||
return qsTr("unknown processor error")
|
return qsTr("unknown processor error")
|
||||||
}
|
}
|
||||||
|
@ -365,6 +367,8 @@ QtObject {
|
||||||
}
|
}
|
||||||
case Constants.routerErrorCodes.router.errLowAmountInForHopBridge:
|
case Constants.routerErrorCodes.router.errLowAmountInForHopBridge:
|
||||||
return qsTr("bonder fee greater than estimated received, a higher amount is needed to cover fees")
|
return qsTr("bonder fee greater than estimated received, a higher amount is needed to cover fees")
|
||||||
|
case Constants.routerErrorCodes.router.errNoPositiveBalance:
|
||||||
|
return qsTr("no positive balance for your account across chains")
|
||||||
default:
|
default:
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
|
@ -1131,6 +1131,7 @@ QtObject {
|
||||||
readonly property string errCannotCheckReceiverBalance : "WR-024"
|
readonly property string errCannotCheckReceiverBalance : "WR-024"
|
||||||
readonly property string errCannotCheckLockedAmounts : "WR-025"
|
readonly property string errCannotCheckLockedAmounts : "WR-025"
|
||||||
readonly property string errLowAmountInForHopBridge : "WR-026"
|
readonly property string errLowAmountInForHopBridge : "WR-026"
|
||||||
|
readonly property string errNoPositiveBalance : "WR-027"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1418d40a6360b41f25edb4d9fb729bb048949f30
|
Subproject commit 9b9a91f654dbfb9a0e4b46964ed766c6bbbe45d0
|
Loading…
Reference in New Issue