videoPlayer.observeField("errorCode",onError)
Sub onError()
print "The error "; videoPlayer.errorCode
End Sub
The errorCode property returns integer values.
Is there any documentation available for the entire range of error code it can return?
it might be related to the isRequestFailed() message from the deprecated roVideoPlayerEvent
https://sdkdocs.roku.com/display/sdkdoc … layerEvent
I’m just guessing, I haven’t tested this yet
Looks like you are right. Thanks Tim
I used to have logic that was something like “if request.code < 400 then…” to validate an HTTP response, not realizing the Roku error codes were negative numbers along with the standard HTTP codes. OOPS.