Add all error context to APIClientException instances