Skip to content

Improve error reporting #19

@morgoth

Description

@morgoth

Currently when error is returned its body contains json as string https://github.com/paymill/paymill-ruby/blob/master/lib/paymill.rb#L50
It would much more helpful to have more structured error that contains fields from

{
    "exception":"subscription_not_found",
    "error":"Subscription not found"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions