Skip to content

Commit 44bea88

Browse files
committed
Update documentation
1 parent 8834338 commit 44bea88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

types/main.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import type { Info } from 'modern-errors'
33
/**
44
* `modern-errors-bugs` plugin.
55
*
6-
* The `bugs` option appends a bug reports URL to error messages.
6+
* This appends a bug reports URL to error messages.
77
*
88
* @example
99
* ```js
1010
* export const UnknownError = AnyError.subclass('UnknownError', {
1111
* bugs: 'https://github.com/my-name/my-project/issues',
1212
* })
1313
*
14-
* // UnknownError: Cannot read properties of null (reading 'trim')
14+
* // Errors now include the following message:
1515
* // Please report this bug at: https://github.com/my-name/my-project/issues
1616
* ```
1717
*/

0 commit comments

Comments
 (0)