Add Error method to ApiError
Add wrapper around request