   This exception occurs when a thrift file fails to parse
   """
 
+  @enforce_keys [:message]
   defexception message: nil
 
   @doc false  # Exception callback, should not be called by end user

  This exception occurs when a Union is serialized and more than one
  field is set.
  """
  defexception message: nil, set_fields: nil
end


end

defmodule Thrift.InvalidValueException do
  @enforce_keys [:message]
  defexception message: nil
end
