code: function readFileOrError(uri) {
      var content;
      try {
          content = fs.readFileSync(uri, 'utf8');
      } catch (err) {
          return Result.Err(err);
      }
  
      return Result.Ok(content);
  }
docs: break try catch into small function to avoid v8 de-optimization