elastic/cloud-sdk-go

Add custom apierror.Error implementing the Unwrap interface.

Closed this issue · 0 comments

Overview

As part of the revamp that Go has done in the errors (wrapping and unwrapping), it would great to add a new error type which implements the today's api.UnwrapError and apierror.Unwrap in that type with the addition of the Unwrap method.