Proper error stack order