snowflake-ingest-java
snowflake-ingest-java copied to clipboard
Accessing `StreamingIngestResponseCode` from the `SFException`
Hi team,
I think it might be useful if there a way that the StreamingIngestResponseCode could be accessed from the SFException.
Currently this exposes the ErorrCode message - but this a bit less useful I think.
Some motivation behind this can be found in https://github.com/snowflakedb/snowflake-ingest-java/issues/547 (trying to diagnose and troubleshoot channel invalidations).
Let me know what you all think! I can provide more details if needed.