DecoderError only exists in cjson - the corresponding error in json is ValueError. Fixing it.