View Source Snowpack.Error exception (Snowpack v0.7.5)

Defines an error returned from the ODBC adapter.

  • message is the full message returned by ODBC
  • odbc_code is an atom representing the returned SQLSTATE or the string representation of the code if it cannot be translated.
  • native_code is a string representing the returned Snowflake code.

Link to this section Summary

Link to this section Types

@type t() :: %Snowpack.Error{
  __exception__: true,
  message: binary(),
  native_code: binary(),
  odbc_code: atom() | binary()
}