Skip to content

Commit c4d5daf

Browse files
committed
Update README.md
1 parent ae4f27b commit c4d5daf

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
@@ -135,7 +135,7 @@ Currently is implemented for validating status code.
135135
| const(Int) [default] 200 | Validate by exact value |
136136
| range(Range<Int>) [default] 200..<300 | Validate by range |
137137
| predicate(Predicate) | Validate by predicate func if you need some specific processing logic |
138-
| check(ErrorFn) | Check status and emit custom error if status is not valid |
138+
| check(ErrorFn) | Check status and return custom error if status is not valid |
139139
#### By range
140140
```swift
141141
try await http.get(path: path, validate: [.status(.range(200..<300))])

0 commit comments

Comments
 (0)