Module El.Error

Media errors

Error codes

type code = int

The type for error code values.

val aborted : code
val network : code
val decode : code
val src_not_supported : code

Error objects

type t

The type for MediaError objects.

val code : t -> code

code e is the error code.

val message : t -> Jstr.t

message e is the error message.