Execute assert with error