handling unparseable remoting response

I had an update call to a record that was already in an approval process.  The response contains [] and : in a few places, and the JSON.parse() couldn't.  I'm guessing that's not the only unparseable scenario.
Where is `error` defined?