View Source FDBC.Error exception (fdbc v0.1.4)

An exception raised when an error is returned from a call to the FDBC NIF.

FDBC.Error exceptions have two fields, :message (a String.t/0) and :code (a t:integer) which are public and can be accessed freely when reading FDBC.Error exceptions. These values are representative of the FoundationDB error codes.

Summary

Types

t()

@type t() :: %FDBC.Error{__exception__: true, code: integer(), message: binary()}