Remove try/catch pattern

Using promises to manage exceptions from asserts helps simplify the
readbility and the code complexity.