errorType

Returns the relevant `HSBotDefenderErrorType` of the given error. When policy type is set to PXPolicyUrlRequestInterceptionType/INTERCEPT you can use this function to know if the request was blocked. When policy type is set to PXPolicyUrlRequestInterceptionType/INTERCEPT_WITH_DELAY you can use this function with the response to know if the request was solved or cancelled. If the error is not related, this function will return `HSBotDefenderErrorType/unknown`.

Parameters

response

The response's body.