Closed andrewjstone closed 9 years ago
Cuttlefish's odd approach to error handling makes it tempting to fix that first.
For example, why this:
cuttlefish_generator:minimal_map/2 -> {error,
transform_datatypes,
{error,
[{error,
"Error transforming datatype for: handoff.disable_outbound"},
{error,
"\"blah\" is not a valid enum value, acceptable values are [\"on\",\"off\"]."}]}}
Versus:
{error, transform_datatypes, {bad, "blah"}, {good, ["on", "off"]}}
Fixed by #26
Seeing the following using this branch: https://github.com/basho/riak_core/tree/feature/riak-cli-handoff-enable
We should display this information in a much nicer way.