RigInboundGateway.ApiProxy.Serializer (Reactive Interaction Gateway v3.0.0-alpha.2) View Source

Works as (de)serializer/formatter/encoder for API endpoints. Abstracts data transformation logic from router logic.

Link to this section Summary

Link to this section Functions

Link to this function

encode_error_message(status)

View Source

Specs

encode_error_message(atom() | String.t()) :: %{message: String.t()}