update dynamo exception to struct for elixir 0.13.3