Aligns the Java SDK error catalogue with Blnk Core 0.15.4.
Maven: com.blnkfinance:blnk-java:1.5.0 — publish to Central Portal is separate; this tag is the source of the release.
Added
BlnkErrorCodesnow mirrors Core's fullerror_detail.codecatalogue, grouped by prefix (GEN_,AUTH_,APIKEY_,TXN_,BAL_,LGR_,ACC_,IDT_,RECON_,META_,HOOK_,QUEUE_,SRCH_,ADMIN_).- Codes to branch on from Core 0.15.4:
TXN_ALREADY_REFUNDED(409),BAL_NOT_FOUND(404),TXN_VALIDATION_ERRORfor split requests that carry bothsourcesanddestinations, andGEN_CONFLICTon multi-leg refund failure. search().multiSearch(MultiSearchParams)for CorePOST /multi-search.ledgers().list()andledgerBalances().list()with optionalListOptions(limit/offset).transactions().list()with the same optionalListOptions(Core default page islimit=20).balanceMonitor().listByBalanceId(balanceId)for CoreGET /balance-monitors/balances/:balance_id.
Unchanged
- Existing constants (
TXN_INVALID_AMOUNT,GEN_CONFLICT,TXN_VALIDATION_ERROR) keep their values; no caller changes are needed.