@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
13 lines (11 loc) • 337 B
text/typescript
/*
* Copyright (C) 2022 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
export class JournalError extends Error {
public constructor(message: string) {
super(message);
this.name = this.constructor.name;
Object.setPrototypeOf(this, this.constructor.prototype as Function);
}
}