Shaka Player Embedded
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Instance Methods | Properties | List of all members
ShakaPlayerError Class Reference

#import <error_objc.h>

Inheritance diagram for ShakaPlayerError:

Instance Methods

(instancetype) - initWithMessage:
 
(instancetype) - initWithMessage:severity:category:code:
 
(instancetype) - initWithError:
 

Properties

NSString * message
 
NSInteger category
 
NSInteger severity
 

Detailed Description

Represents a Player error. This can be either a Shaka error or a more generic JavaScript error.

See also
https://github.com/google/shaka-player/blob/master/lib/util/error.js

Definition at line 39 of file error_objc.h.

Method Documentation

§ initWithError:()

- (instancetype) initWithError: (const shaka::Error &)  error

Provided by category ShakaPlayerError(Internal).

§ initWithMessage:()

- (instancetype) initWithMessage: (NSString *)  message

Definition at line 30 of file error_objc.mm.

§ initWithMessage:severity:category:code:()

- (instancetype) initWithMessage: (NSString *)  message
severity: (NSInteger)  severity
category: (NSInteger)  category
code: (NSInteger)  code 

Definition at line 34 of file error_objc.mm.

Property Documentation

§ category

- (NSInteger) category
readwriteatomicassign

The category of the error, if this is a Shaka error. This is the same as shaka.util.Error.Category.

Definition at line 55 of file error_objc.h.

§ message

- (NSString*) message
readwriteatomicassign

The error message.

Definition at line 49 of file error_objc.h.

§ severity

- (NSInteger) severity
readwriteatomicassign

The Shaka severity of the error, if this is a Shaka error. This is the same as shaka.util.Error.Severity.

Definition at line 61 of file error_objc.h.


The documentation for this class was generated from the following files: