We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69ba75 commit 1d4a1c4Copy full SHA for 1d4a1c4
src/roi.js
@@ -28,7 +28,7 @@ class ROI {
28
this[_uid] = _generateUID()
29
} else {
30
if (!(typeof options.uid === 'string' || options.uid instanceof String)) {
31
- throw new Error('uid of ROI must be a string')
+ throw new Error(`uid of ROI must be a string: ${typeof options.uid}`)
32
}
33
this[_uid] = options.uid
34
0 commit comments