Mssqlex v2.0.0-beta.0 Mssqlex.Error exception View Source

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.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Mssqlex.Error{
  __exception__: term(),
  constraint_violations: Keyword.t(),
  message: binary(),
  odbc_code: atom() | binary()
}