lostisland/go-sawyer — pull request #3 by technoweenie (2013-10-19 22:44:04+00:00)
Title: store the apierror as an interface{} on response.

This lets you set the error type on the client, and let the client create the error for decoding on each non-successful request.