Dgraph or connection error are wrapped in ExDgraph.Error.
t() :: %ExDgraph.Error{__exception__: term(), action: term(), reason: term()}