Method: NATS#disconnect_error_string

Defined in:
lib/nats/client.rb

#disconnect_error_stringObject

[View source]

1176
1177
1178
1179
# File 'lib/nats/client.rb', line 1176

def disconnect_error_string
  return "Client disconnected from server on #{@uri}" if @connected
  return "Could not connect to server on #{@uri}"
end