26 std::optional<Redirect>
redirect = std::nullopt;
Definition: attributes.h:13
ErrorCode
MOQT error code, as carried by REQUEST_ERROR.
Definition: errors.h:33
@ kUnauthorized
The requester is not authorized for the operation.
@ kGoingAway
The request is going away.
@ kDoesNotExist
The requested resource does not exist.
@ kExpiredAuthToken
An authorization token has expired.
@ kMalformedAuthToken
An authorization token is syntactically invalid.
@ kRedirect
A request should redirect with the given redirect info.
@ kInvalidRange
The requested object range is invalid.
@ kTimeout
The request could not be completed before its deadline.
@ kInvalidJoiningRequestId
A joining fetch references an invalid request identifier.
@ kPrefixOverlap
A namespace prefix overlaps an existing request incompatibly.
@ kUninterested
The endpoint is no longer interested in the request.
@ kNotSupported
The requested operation or feature is unsupported.
@ kDuplicateSubscription
An equivalent subscription already exists.
@ kMalformedTrack
The supplied track name or properties are malformed.
@ kInternalError
The endpoint encountered an unspecified internal failure.
A rejected result, holding why the request was rejected.
Definition: errors.h:21
E reason_code
Machine-readable reason the operation was rejected.
Definition: errors.h:22
std::optional< Redirect > redirect
Optional redirect path for request.
Definition: errors.h:26
std::optional< std::string > error_reason
Optional human-readable explanation suitable for diagnostics.
Definition: errors.h:24