Improved error message on stack underflow