A publisher sends a FETCH_ERROR control message in response to a failed FETCH.
FETCH_ERROR
{
Type (i) = 0x19,
Length (i),
Subscribe ID (i),
Error Code (i),
Reason Phrase Length (i),
Reason Phrase (..),
}
-
Subscribe ID: Subscription Identifier as defined in Section 7.4.
-
Error Code: Identifies an integer error code for fetch failure.
-
Reason Phrase: Provides the reason for fetch error.
The application SHOULD use a relevant error code in FETCH_ERROR, as defined below:
| Code | Reason |
|---|---|
| 0x0 | Internal Error |
| 0x1 | Unauthorized |
| 0x2 | Timeout |
| 0x3 | Not Supported |
| 0x4 | Track Does Not Exist |
| 0x5 | Invalid Range |