| Streamaxia Open SDK 3.2

List of all members
AXError Class Reference

`#import <AXError.h>`

Inheritance diagram for AXError:

## Instance Methods
Public methods
(BOOL) | - containsErrorCode:

## Class Methods
Lifecycle
(instancetype) | + errorWithCodes:message:

## Properties
Properties
NSArray< NSNumber * > * | errorCodes
NSString * | message
NSString * | errors
id | userInfo

## Detailed Description

The SDK error.

## Method Documentation

## ◆ containsErrorCode:()

- (BOOL) containsErrorCode: |  | (AXErrorCode) | errorCode |

Check if this error contains a certain error code.

Parameters

  errorCode | The error code.

Returns
  YES if the error code is present, NO otherwise.

## ◆ errorWithCodes:message:()

+ (instancetype) errorWithCodes: |  | (NSArray< NSNumber * > *) | errorCodes
message: |  | (NSString *) | message

Factory method for creating an error object with a list of error codes and a message.

Parameters

  errorCodes | The error codes, wrapped as numbers.
  message | The error message.

Returns
  The initialized object.

## Property Documentation

## ◆ errorCodes

- (NSArray<NSNumber *>*) errorCodes
| read nonatomic strong

The list of error codes, wrapped as numbers.

## ◆ errors

- (NSString*) errors
| read nonatomic strong

The list of errors, as a readable string.

## ◆ message

- (NSString*) message
| read nonatomic strong

The error message.

## ◆ userInfo

- (id) userInfo
| read write nonatomic strong

A custom info object that can be attached to the error.

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

- /Users/mac/Documents/StreamaxiaSDK/Streamaxia Open SDK/StreamaxiaSDK.framework/Headers/AXError.h