Mssqlex v0.3.3 Mssqlex.Error exception

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.

Summary

Functions

Callback implementation for Exception.message/1

Types

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

Functions

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.