Added a "uniqueType" value to errors, making client side error parsing
easier.