[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Docs
[ ] Other... Please describe:
What is the current behavior?
the exception-filters documentation describes that the JSON response body contains two properties: 'statusCode' and 'message', but the demo code in cats.controller.ts' uses the property 'status'.
What is the new behavior?
the object properties used in the example remain consistent with the documentation, replace 'status' with 'statusCode'
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
the exception-filters documentation describes that the JSON response body contains two properties: 'statusCode' and 'message', but the demo code in
cats.controller.ts'
uses the property 'status'.What is the new behavior?
the object properties used in the example remain consistent with the documentation, replace 'status' with 'statusCode'
Does this PR introduce a breaking change?
Other information