Skip to content

Commit

Permalink
Update headings to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
christoment committed Oct 3, 2023
1 parent b65ddeb commit fe322da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/do-you-return-detailed-error-messages/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ This approach will work on both Development and Production build so it's recomme

## Any API (REST, gRPC and GraphQL):

### Make your error messages as verbose as necessary...
### Add Sufficient Details in Error Message

Error messages should contain a sufficient level of information that a developer or consuming client can act upon.

Expand All @@ -139,7 +139,7 @@ Figure: Bad Example - The error message does not contain information that can be
Figure: Good Example - The error message provides explicit detail and a short description on how to fix the issue.
:::

### ...But no more verbose than that
### Sanitize Response

```none
HTTP/1.1 500 Internal Server Error
Expand Down

0 comments on commit fe322da

Please sign in to comment.