class Exception {
    public readonly message: string;
    public readonly name: string;

    public constructor(message: Error["message"], name = "Error") {
        this.message = message;
        this.name = name;
    }
}

export { Exception };
