Alokai

ResponseCheckerConfig

Base configuration for response checker factory.

interface ResponseCheckerConfig {
	detectError: DetectErrorCallback;
	extractMessage?: ExtractMessageCallback;
}

Properties

NameRequiredTypeDescription
detectErrorRequiredDetectErrorCallbackDetect errors in successful responses (for APIs returning 200 with error payload) When this returns ErrorDetectionResult, adapter treats it as an error
extractMessageOptionalExtractMessageCallbackExtract error message from platform-specific payload

On this page