Skip to content

Error handling in Ruby SDK #16

@iajrz

Description

@iajrz

When calling some methods from the SDK, like Client#exchange_rates_get_specific_rate, there are some edge cases - in particular, the test API Key has no access to the "specific exchange rate" endpoint, so it gets a 403.

But the method still tries to parse the date before returning the object, which results in an obscure "nil can't be parsed" sort of error.

Many such details exist.

Does the SDK intend to pass the message object with the error?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions