Update to error handling

The DO api now uses `error_message` to describe errors.