Class PlayerError
- java.lang.Object
-
- org.openqa.selenium.devtools.v113.media.model.PlayerError
-
public class PlayerError extends java.lang.ObjectCorresponds to kMediaError
-
-
Constructor Summary
Constructors Constructor Description PlayerError(java.lang.String errorType, java.lang.Integer code, java.util.List<PlayerErrorSourceLocation> stack, java.util.List<PlayerError> cause, java.util.Map<java.lang.String,java.lang.Object> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<PlayerError>getCause()Errors potentially have a root cause error, ie, a DecoderError might be caused by an WindowsErrorjava.lang.IntegergetCode()Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes in media/base/pipeline_status.hjava.util.Map<java.lang.String,java.lang.Object>getData()Extra data attached to an error, such as an HRESULT, Video Codec, etc.java.lang.StringgetErrorType()java.util.List<PlayerErrorSourceLocation>getStack()A trace of where this error was caused / where it passed through.
-
-
-
Constructor Detail
-
PlayerError
public PlayerError(java.lang.String errorType, java.lang.Integer code, java.util.List<PlayerErrorSourceLocation> stack, java.util.List<PlayerError> cause, java.util.Map<java.lang.String,java.lang.Object> data)
-
-
Method Detail
-
getErrorType
public java.lang.String getErrorType()
-
getCode
public java.lang.Integer getCode()
Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes in media/base/pipeline_status.h
-
getStack
public java.util.List<PlayerErrorSourceLocation> getStack()
A trace of where this error was caused / where it passed through.
-
getCause
public java.util.List<PlayerError> getCause()
Errors potentially have a root cause error, ie, a DecoderError might be caused by an WindowsError
-
getData
public java.util.Map<java.lang.String,java.lang.Object> getData()
Extra data attached to an error, such as an HRESULT, Video Codec, etc.
-
-