MessageCommandManager

This commit is contained in:
mmacierzanka committed 2021-09-07 19:13:21 +02:00
1 parent 6ab0874a1a
commit 2d9d0dbd66
5 files changed
+59 -6

No files matched your search

+3
View File
@@ -156,6 +156,9 @@ export class ObjectID {
export class NullParameter extends InputParameter {
constructor(parameter: Parameter) {
if (parameter.optional === false) {
throw new Error(`Parameter "${parameter.name}" cannot be null`);
}
super(parameter, null);
}
}