Class PlayerError
java.lang.Object
org.openqa.selenium.devtools.v141.media.model.PlayerError
Corresponds to kMediaError
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerError(String errorType, Integer code, List<PlayerErrorSourceLocation> stack, List<PlayerError> cause, Map<String, Object> data) -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Errors potentially have a root cause error, ie, a DecoderError might be caused by an WindowsErrorgetCode()Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes in media/base/pipeline_status.hgetData()Extra data attached to an error, such as an HRESULT, Video Codec, etc.getStack()A trace of where this error was caused / where it passed through.
-
Constructor Details
-
PlayerError
public PlayerError(String errorType, Integer code, List<PlayerErrorSourceLocation> stack, List<PlayerError> cause, Map<String, Object> data)
-
-
Method Details
-
getErrorType
-
getCode
Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes in media/base/pipeline_status.h -
getStack
A trace of where this error was caused / where it passed through. -
getCause
Errors potentially have a root cause error, ie, a DecoderError might be caused by an WindowsError -
getData
Extra data attached to an error, such as an HRESULT, Video Codec, etc.
-