View Source surreal_response (surreal v1.0.0)

Module for SurrealDB response types and internal functions about it.

Link to this section Summary

Link to this section Types

-type response() :: {ok, any()} | {error, string()}.
-type result() :: server_error() | response() | [response()].
-type server_error() :: #server_error{}.