Skip to content

Commit 666fb3a

Browse files
refactor: extend TD validation error
1 parent 3325e12 commit 666fb3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/wot-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default class WoTImpl {
100100
return value;
101101
}
102102

103-
throw getLastValidationErrors();
103+
throw new Error("TD validation error: " + getLastValidationErrors().message);
104104
}
105105

106106
/** @inheritDoc */

0 commit comments

Comments
 (0)