We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8834338 commit 44bea88Copy full SHA for 44bea88
1 file changed
types/main.d.ts
@@ -3,15 +3,15 @@ import type { Info } from 'modern-errors'
3
/**
4
* `modern-errors-bugs` plugin.
5
*
6
- * The `bugs` option appends a bug reports URL to error messages.
+ * This appends a bug reports URL to error messages.
7
8
* @example
9
* ```js
10
* export const UnknownError = AnyError.subclass('UnknownError', {
11
* bugs: 'https://github.com/my-name/my-project/issues',
12
* })
13
14
- * // UnknownError: Cannot read properties of null (reading 'trim')
+ * // Errors now include the following message:
15
* // Please report this bug at: https://github.com/my-name/my-project/issues
16
* ```
17
*/
0 commit comments