Infobip.Common (infobip v0.2.0)
Helper module for making Infobip requests.
Link to this section Summary
Link to this section Functions
Link to this function
handle_http_error(reason)
Specs
Generates a meaningful error message for an HTTP error.
Examples
iex> handle_http_error(:nxdomain)
{:error, {:http, "Could not reach Infobip API"}}
Link to this function
http_config()
Specs
http_config() :: map()
Loads the Infobip config.