I think `Errno::ECONNREFUSED` is enough to notify developers what is happened.
If you want add message for additional information, how about this?

```ruby
rescue Errno::ECONNREFUSED => e
  raise e, "Capturemath error: Connection refused. Svgtex server may not be reachable."
```