[Bluetooth] Representation of binary data unification - exceptions fix 84/243984/1
authorArkadiusz Pietraszek <a.pietraszek@samsung.com>
Fri, 11 Sep 2020 17:18:59 +0000 (19:18 +0200)
committerArkadiusz Pietraszek <a.pietraszek@samsung.com>
Fri, 11 Sep 2020 17:18:59 +0000 (19:18 +0200)
commit0b34bc408837237eb99236d5da4d234752c2ad85
tree7eb48fb1810b6014b92512b0176004cce880f627
parentcfba5a973ff39512b360aa3a912e88e37357b857
[Bluetooth] Representation of binary data unification - exceptions fix

Fixed misarg case. Before TypeError was thrown.
Corrected to TypeMismachError.

[Verification] Errors tested in developer console.

[ACR] TWDAPI-259

Change-Id: Ifdfc9682ed31f2cbb9f16d0d63cb2056412a9236
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
src/bluetooth/bluetooth_api.js