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