IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

fix(errors): support error checking methods for new problem structures #212

Closed dpopp07 closed 6 months ago

dpopp07 commented 6 months ago

Adds previously returned errors to the "Unwrap" chain for checking against in methods like "errors.Is()" and adds an implementation of "Is" to Problem types to enable equality checking against problems.

Also, adds all of the previously returned errors back into the problem structures to maintain full compatibility with downstream code.

ibm-devx-sdk commented 6 months ago

:tada: This PR is included in version 5.16.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: