refactor to something like
```
if (server_messages = RestApi::Base.messages_for e.response).present?
  e = RestApi::ServerError.new(e.response, server_messages.map(&:text).join(' -- '))
  e.set_backtrace($!.backtrace)
end
```