appoptics / appoptics-api-go

The official Go client for the AppOptics metrics API
https://docs.appoptics.com/api/
Apache License 2.0
4 stars 7 forks source link

ErrorResponse.Error() now returns something useful #72

Closed trevrosen closed 4 years ago

trevrosen commented 4 years ago

Fixes #71

What

Fixes an issue where clients depending on ErrorResponse.Error() (such as Terraform Providers) won't just see a blank string.

Why

CLI tools depending on this client need to have something useful in the string version of returned errors.