Introduce custom error types

Open
#7 5 comments 1 reaction 2 assignees View on GitHub

@const-cloudinary is already working on this.

Since Feb 9, 2021.

Assessment

This issue has not been assessed yet.

Description

Explain your use case

All the errors from SDK now returns in raw format.
Moreover - they are bubbling up from the very bottom level to the client level.

Describe the problem you’re trying to solve

This errors might be everything - starting from the HTTP errors (can't connect to the server, wrong credentials, smth else) to JSON umarshaling problems.

Does the client really need such verbose level of errors and does he (she) really need to know that we've got some problem during JSON unmarshaling?

Do you have a proposed solution?

Dominant language
Go
Stars
51
Forks
25
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/cloudinary-go

All issues in cloudinary/cloudinary-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.