API Reference bowline_client v#1.2.0

Copy Markdown View Source

Modules

Runtime for Bowline generated Elixir clients: the transport, the error envelope, decoding helpers, and validation rules that generated modules use.

The input or output of a procedure declared with struct{}.

Encoding helpers used by generated to_map/1 functions.

A failed call: the Bowline error code, the message, the HTTP status, details, and validation issues.

One validation failure: the JSON path, the rule, and the message the server would send.

Decoding helpers used by generated from_map/1 functions; each raises ArgumentError naming the key on a shape mismatch.

Validation rules with the same semantics and messages as the Bowline server.

Parser for the server-sent event framing the Bowline runtime writes.

Sends procedure calls to a Bowline handler over HTTP and maps every outcome to {:ok, value} or {:error, %BowlineClient.Error{}}.