Improve status transition error message