Skip to content

Commit e2f66c0

Browse files
Docs updated
1 parent 2d7e920 commit e2f66c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ But exceptions come with some default attributes as follows, to minimize the num
486486

487487
If the messages are not found in `properties` files, defaults are taken as follows.
488488
* **Code** is taken as specified `HttpStatus`'s int code e.g. if `HttpStatus` is given as `EXPECTATION_FAILED` then the Code default would be `417`
489-
* **Title** is taken as specified `HttpStatus`'s reason phrase e.g. if `HttpStatus` is given as `EXPECTATION_FAILED` like the Title default would be `Expectation Failed`
489+
* **Title** is taken as specified `HttpStatus`'s reason phrase e.g. if `HttpStatus` is given as `EXPECTATION_FAILED` then the Title default would be `Expectation Failed`
490490
* **Detail** default is taken as thrown exception's `exception.getMessage()`
491491

492492
There are multiple other methods available while creating and throwing exceptions in [**`Problems`**](src/main/java/com/ksoot/problem/Problems.java),

0 commit comments

Comments
 (0)