Summary
When handoff_fanout / createFanoutHandoff is called on a service that does not have Fanout enabled, the platform now returns a specific status code indicating the feature is not available. The SDK should catch this and surface a clear, actionable error message to the developer rather than a generic/opaque failure.
Expected behavior
When a developer calls the fanout handoff on a service without Fanout enabled, they should receive an error with a message like:
"Fanout or WebSockets are not enabled on this service; please contact support for help"
Current behavior
The SDK returns a generic error (or empty error) with no indication of what went wrong or how to fix it.
Reference implementations
Go SDK: fastly/compute-sdk-go#275
Checks for the Unsupported status from the redirect_to_grip_proxy / redirect_to_websocket_proxy hostcalls and return a specific error variant with the descriptive message.
Summary
When handoff_fanout / createFanoutHandoff is called on a service that does not have Fanout enabled, the platform now returns a specific status code indicating the feature is not available. The SDK should catch this and surface a clear, actionable error message to the developer rather than a generic/opaque failure.
Expected behavior
When a developer calls the fanout handoff on a service without Fanout enabled, they should receive an error with a message like:
"Fanout or WebSockets are not enabled on this service; please contact support for help"
Current behavior
The SDK returns a generic error (or empty error) with no indication of what went wrong or how to fix it.
Reference implementations
Go SDK: fastly/compute-sdk-go#275
Checks for the Unsupported status from the redirect_to_grip_proxy / redirect_to_websocket_proxy hostcalls and return a specific error variant with the descriptive message.