[ML] Change InvalidValuesError to TypeMismatchError for no args 59/255059/1
authorRafal Walczyna <r.walczyna@samsung.com>
Thu, 11 Mar 2021 14:06:57 +0000 (15:06 +0100)
committerRafal Walczyna <r.walczyna@samsung.com>
Thu, 11 Mar 2021 14:09:44 +0000 (15:09 +0100)
commit25be25e1569ce2c732e3fd5f0aaeaa5ba53f02e1
tree9fa697f216c85ed4a4bab815754579f5b999377e
parente84dcf1d46b9e524380b6d05fb4192b23678093a
[ML] Change InvalidValuesError to TypeMismatchError for no args

When function is called without args, converter throws TypeError.
This commit unifies it.

code_format has been also applied.

[Verification] Builts successful, tested in chrome console

Change-Id: I032fd3f78e06b561ae472cdbbafe3bcf4092a6d9
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
src/ml/js/ml_common.js
src/ml/js/ml_pipeline.js
src/ml/js/ml_single.js
src/ml/ut/main.cc