in src/entities/ResponseMessage.ts [8:22]
public constructor(event: unknown) {
if (typeof event === "object" && event !== null) {
if (Utils.hasStringProperty(event, "result")) {
this.result = event.result;
}
if (Utils.hasStringProperty(event, "exceptionType")) {
this.exceptionType = event.exceptionType;
}
} else {
throw Error(
"Attempted to construct ResponseMessage event from incompatible History event. " +
"This is probably a bug in History-replay. Please file a bug report."
);
}
}