Skip to content

Commit 24f45e1

Browse files
committed
Update README
1 parent 388072e commit 24f45e1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ in an HTTP response.
113113

114114
_Type_: `object`
115115

116-
Options have the same shape as the return value. They can be passed either as an
117-
argument to [`errorHttpResponse()`](#errorhttpresponseerror-options) or be set
118-
to `error.http`.
116+
The options and the return value have the same shape
117+
([RFC 7807](https://www.rfc-editor.org/rfc/rfc7807)). Options can be passed
118+
either as an argument to
119+
[`errorHttpResponse()`](#errorhttpresponseerror-options) or be set to
120+
`error.http`.
119121

120122
Options are validated: an exception is thrown if their syntax is invalid.
121123

0 commit comments

Comments
 (0)