Classes
Methods
(static) ErrorConverter.create(converter) → {ErrorConverter}
Creates a full ErrorConverter, that will passed a predicate result with the response body.
The converter function will be invoked after the HTTP response body is received.
Parameters:
| Name | Type | Description |
|---|---|---|
converter |
function | a function creating a Throwable from a ResponsePredicateResult |
Returns:
- Type
- ErrorConverter
(static) ErrorConverter.createFullBody(converter) → {ErrorConverter}
Creates a full ErrorConverter, that will passed a predicate result with the response body.
The converter function will be invoked after the HTTP response body is received.
Parameters:
| Name | Type | Description |
|---|---|---|
converter |
function | a function creating a Throwable from a ResponsePredicateResult |
Returns:
- Type
- ErrorConverter