You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add JSDoc comments with examples to ValidationError and SdlValidationError classes
- Enhanced the `ValidationError` class with detailed JSDoc comments, including usage examples for the `assert` method.
- Updated the `SdlValidationError` class to include comprehensive JSDoc comments and examples, improving code documentation and usability.
- Ensured consistency in documentation style across both error classes.
Signed-off-by: Greg Osuri <me@gregosuri.com>
* Returns a function that checks the health status of an endpoint
102
+
* @param {number} timeout - The timeout for the health check request
103
+
* @returns {function({ address: string }): Promise<{ address: string, responseTime: number | null }>} A function that returns a promise resolving to the endpoint's health status
0 commit comments