BCOVErrorTranslator Class Reference

Inherits from NSObject
Declared in BCOVErrorTranslator.h

+ readableErrorCodeForError:

Returns a human readable error code from an NSError

+ (NSString *_Nullable)readableErrorCodeForError:(NSError *)error

Parameters

error

The NSError object to translate.

Return Value

A readable error code. May be nil if the NSError is not an internal Brightcove error.

Discussion

Returns a human readable error code from an NSError

The Brightcove iOS SDK has a number NSError objects that are created in various instances, each one within a specific error domain with a specific error code. This class can be used to translate one of these NSError object’s error code into a human readable string.

Declared In

BCOVErrorTranslator.h