Getting details about an errorΒΆ

If the statement does not execute successfully, Snowflake returns one of the following response codes, as shown in the flow chart below:

Flow chart for handling errors during statement execution

As shown in this flow chart: