THEOplayer > ErrorCategory > fromCode
Determine the ErrorCategory of the given ErrorCode.
ErrorCategory
Signature:
function fromCode(code: ErrorCode): ErrorCategory;
Parameter
Type
Description
code
ErrorCode
The ErrorCode to determine the ErrorCategory of.