toError(): add err.text to error

this will add the response text to `err.text`

cc @gjohnson