Skip to content

Commit

Permalink
Merge pull request #13221 from kalmanbendeguz/patch-1
Browse files Browse the repository at this point in the history
docs(common): remove incorrect constructor signature of HttpException
  • Loading branch information
kamilmysliwiec committed Feb 19, 2024
2 parents 033f181 + f793e2a commit c50eb48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/common/exceptions/http.exception.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export class HttpException extends Error {
* Instantiate a plain HTTP Exception.
*
* @example
* throw new HttpException()
* throw new HttpException('message', HttpStatus.BAD_REQUEST)
* throw new HttpException('custom message', HttpStatus.BAD_REQUEST, {
* cause: new Error('Cause Error'),
Expand Down

0 comments on commit c50eb48

Please sign in to comment.