You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "tengu-alt (via GitHub)" <gi...@apache.org> on 2024/11/22 14:44:58 UTC

Re: [PR] CASSGO-38 Marshal error messages enhancement [cassandra-gocql-driver]

tengu-alt commented on code in PR #1838:
URL: https://github.com/apache/cassandra-gocql-driver/pull/1838#discussion_r1854023636


##########
marshal.go:
##########
@@ -2208,7 +2210,7 @@ func unmarshalTuple(info TypeInfo, data []byte, value interface{}) error {
 		return nil
 	}
 
-	return unmarshalErrorf("cannot unmarshal %s into %T", info, value)
+	return unmarshalErrorf("cannot unmarshal %s into %T. Accepted types: struct, []interface{}, array, slice.", info, value)

Review Comment:
   Good catch! Thank you.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org