@Override
    public String toString() {
        return "ResponseStatus{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", exception=" + exception +
                '}';
    }
Gets the exception in case of error.
gremlin-util/src/main/java/org/apache/tinkerpop/gremlin/util/message/ResponseStatus.java