@@ -44,7 +44,7 @@ module.exports = ({ heapProfile: _heapProfile,
4444 * } catch (err) {
4545 * // In case an error happens
4646 * }
47- * @throws Will throw an error if an error happens and no callback was passed.
47+ * @throws { Error } Will throw an error if an error happens and no callback was passed.
4848 * @function profile
4949 * @memberof module:nsolid
5050 */
@@ -93,7 +93,7 @@ module.exports = ({ heapProfile: _heapProfile,
9393 * }, 1000);
9494 * }
9595 * });
96- * @throws Will throw an error if an error happens and no callback was passed.
96+ * @throws { Error } Will throw an error if an error happens and no callback was passed.
9797 * @function profileEnd
9898 * @memberof module:nsolid
9999 */
@@ -138,7 +138,7 @@ module.exports = ({ heapProfile: _heapProfile,
138138 * } catch (err) {
139139 * // In case an error happens
140140 * }
141- * @throws Will throw an error if an error happens and no callback was passed.
141+ * @throws { Error } Will throw an error if an error happens and no callback was passed.
142142 * @function profile
143143 * @memberof module:nsolid
144144 */
@@ -193,7 +193,7 @@ module.exports = ({ heapProfile: _heapProfile,
193193 * }, 1000);
194194 * }
195195 * });
196- * @throws Will throw an error if an error happens and no callback was passed.
196+ * @throws { Error } Will throw an error if an error happens and no callback was passed.
197197 * @function heapProfileEnd
198198 * @memberof module:nsolid
199199 */
@@ -243,7 +243,7 @@ module.exports = ({ heapProfile: _heapProfile,
243243 * } catch (err) {
244244 * // In case an error happens
245245 * }
246- * @throws Will throw an error if an error happens and no callback was passed.
246+ * @throws { Error } Will throw an error if an error happens and no callback was passed.
247247 * @function heapSampling
248248 * @memberof module:nsolid
249249 */
@@ -302,7 +302,7 @@ module.exports = ({ heapProfile: _heapProfile,
302302 * }, 1000);
303303 * }
304304 * });
305- * @throws Will throw an error if an error happens and no callback was passed.
305+ * @throws { Error } Will throw an error if an error happens and no callback was passed.
306306 * @function heapSamplingEnd
307307 * @memberof module:nsolid
308308 */
@@ -344,7 +344,7 @@ module.exports = ({ heapProfile: _heapProfile,
344344 * } catch (err) {
345345 * // In case an error happens
346346 * }
347- * @throws Will throw an error if an error happens and no callback was passed.
347+ * @throws { Error } Will throw an error if an error happens and no callback was passed.
348348 * @function snapshot
349349 * @memberof module:nsolid
350350 */
0 commit comments