ResponseCheckerConfig
Base configuration for response checker factory.
interface ResponseCheckerConfig {
detectError: DetectErrorCallback;
extractMessage?: ExtractMessageCallback;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
detectError | Required | DetectErrorCallback | Detect errors in successful responses (for APIs returning 200 with error payload) When this returns ErrorDetectionResult, adapter treats it as an error |
extractMessage | Optional | ExtractMessageCallback | Extract error message from platform-specific payload |