Error system support both message and code error now.