We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11fc292 commit 43f7ac1Copy full SHA for 43f7ac1
src/models/bom.ts
@@ -34,7 +34,7 @@ export class Bom {
34
*/
35
set serialNumber (value: UrnUuid | null) {
36
if (value !== null && !isUrnUuid(value)) {
37
- throw new TypeError('Not UrnUuid')
+ throw new TypeError('Not UrnUuid nor null')
38
}
39
this.#serialNumber = value
40
0 commit comments