Update error format

use type/subType instead of source/type