Skip to content

Commit c50eb48

Browse files
Merge pull request #13221 from kalmanbendeguz/patch-1
docs(common): remove incorrect constructor signature of HttpException
2 parents 033f181 + f793e2a commit c50eb48

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/common/exceptions/http.exception.ts

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export class HttpException extends Error {
2828
* Instantiate a plain HTTP Exception.
2929
*
3030
* @example
31-
* throw new HttpException()
3231
* throw new HttpException('message', HttpStatus.BAD_REQUEST)
3332
* throw new HttpException('custom message', HttpStatus.BAD_REQUEST, {
3433
* cause: new Error('Cause Error'),

0 commit comments

Comments
 (0)