Raised when a Perplexity Responses (Agent) API stream fails mid-flight.
Carries the structured error fields the API surfaces (code, type,
param, request_id) and the original event payload so observability
pipelines can inspect them programmatically instead of regex-parsing the
message string.