diff --git a/src/Error/Errors.ts b/src/Error/Errors.ts index 2d0413082..d0c11f80c 100644 --- a/src/Error/Errors.ts +++ b/src/Error/Errors.ts @@ -17,7 +17,7 @@ export class UnknownTypeError extends BaseError { constructor(readonly type: BaseType) { super({ code: 101, - messageText: `Unknown type "${type?.getId()}"`, + messageText: `Unknown type "${type.getId()}"`, }); } }