Domain's onError handler should assert before any other actions to apply