struct Protocol::Media::PlayerError
- Protocol::Media::PlayerError
- Struct
- Value
- Object
Overview
Corresponds to kMediaError
Included Modules
- JSON::Serializable
Defined in:
protocol/media.crConstructors
Instance Method Summary
-
#cause : Array(PlayerError)
Errors potentially have a root cause error, ie, a DecoderError might be caused by an WindowsError
-
#code : Int::Primitive
Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes in media/base/pipeline_status.h
-
#data : JSON::Any
Extra data attached to an error, such as an HRESULT, Video Codec, etc.
- #error_type : String
-
#stack : Array(PlayerErrorSourceLocation)
A trace of where this error was caused / where it passed through.
Constructor Detail
Instance Method Detail
def cause : Array(PlayerError)
#
Errors potentially have a root cause error, ie, a DecoderError might be caused by an WindowsError
def code : Int::Primitive
#
Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes in media/base/pipeline_status.h
def stack : Array(PlayerErrorSourceLocation)
#
A trace of where this error was caused / where it passed through.