Closed macintux closed 9 years ago
Clearly, my next question is: have you updated all the tests that rely on the previous behavior?
Edit: By "the tests" I mean the schema tests in all the Riak components that define them?
Yes. All tests that expect error tuples have been reviewed and modified, and all tests pass.
Just the clique PR? Surely this changes things in kv, core...
Ah-hah. No, I've verified Riak functionality, but didn't look into schema tests. Thanks, will do.
@seancribbs https://github.com/basho/riak_kv/pull/1071 does the needful. No other schema test checks error conditions.
:+1: 9fe492d
@borshop merge
{error, "Arbitrary string"}
becomes{error, {atom(), term()}}
{error, [error()]}
becomes{errorlist, [error()]}
cuttlefish_error:xlate/1
to take new error tuples and convert to (roughly) same strings as beforecuttlefish_bytesize:parse/1
API change
cuttlefish_error:format
, used nowhere