Error

constructor(exception: Exception, code: MultimediaErrorCode = MultimediaErrorCode.General)


constructor(message: String, cause: Throwable? = null, code: MultimediaErrorCode = MultimediaErrorCode.General)

Creates an error event from a message and optional cause.

Parameters

message

A description of the error.

cause

The underlying cause, or null.

code

The MultimediaErrorCode categorizing this error.