Class PlayerError
- java.lang.Object
-
- org.openqa.selenium.devtools.media.model.PlayerError
-
public class PlayerError extends java.lang.Object
Corresponds to kMediaError
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlayerError.Type
-
Constructor Summary
Constructors Constructor Description PlayerError(PlayerError.Type type, java.lang.String errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getErrorCode()
When this switches to using media::Status instead of PipelineStatus we can remove "errorCode" and replace it with the fields from a Status instance.PlayerError.Type
getType()
-
-
-
Constructor Detail
-
PlayerError
public PlayerError(PlayerError.Type type, java.lang.String errorCode)
-
-
Method Detail
-
getType
public PlayerError.Type getType()
-
getErrorCode
public java.lang.String getErrorCode()
When this switches to using media::Status instead of PipelineStatus we can remove "errorCode" and replace it with the fields from a Status instance. This also seems like a duplicate of the error level enum - there is a todo bug to have that level removed and use this instead. (crbug.com/1068454)
-
-