Skip to content

Errors not parsed correctly #6

@xojltoh

Description

@xojltoh

Error responses produces parse exception, not error object
Coin payments error
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of org.brunocvcunha.coinpayments.model.CreateWithdrawalResponse out of START_ARRAY token
at [Source: (String)"{"error":"That amount is larger than your balance!","result":[]}"; line: 1, column: 62] (through reference chain: org.brunocvcunha.coinpayments.model.ResponseWrapper["result"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions