We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae4f27b commit c4d5dafCopy full SHA for c4d5daf
README.md
@@ -135,7 +135,7 @@ Currently is implemented for validating status code.
135
| const(Int) [default] 200 | Validate by exact value |
136
| range(Range<Int>) [default] 200..<300 | Validate by range |
137
| 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 |
+| check(ErrorFn) | Check status and return custom error if status is not valid |
139
#### By range
140
```swift
141
try await http.get(path: path, validate: [.status(.range(200..<300))])
0 commit comments