Open wireframeslayout opened 3 years ago
@wireframeslayout
the try clause in execute
method does not handle Error or throw again but only call console.error
.
https://github.com/WireframesJPN/simple-valid/blob/master/src/SimpleValid.js#L208
So, how should Promise handle when the try clause in execute
method catches the exception, reject the exception or just ignore as same as now?
throw when catch exception. plz.
rule/prepare and result returns promise to be able to use async action.
THIS WILL BE BREAKING CHANGE.