src/vs/base/common/errors.ts/ErrorNoTelemetry/fromError
class ErrorNoTelemetry:	public static fromError(err: Error): ErrorNoTelemetry {
		if (err instanceof ErrorNoTelemetry) {
			return err;
		}

		const result = new ErrorNoTelemetry();
		result.message = err.message;
		result.stack = err.stack;
		return result;
	}