distinguish between Libertree errors and standard errors
raw_response is out of scope, report exception instead