PxException Class

@interface PxException : NSError

An error raised by the SDK to signal misuse or an internal failure.

Overview

PxException is an NSError subclass (domain com.pixelnetica). The SDK raises it as an Objective-C exception; Swift callers that need to intercept it can wrap the call with PxCatchExceptions.

Type Methods

NameSummary
new:Creates a PxException with a formatted message and logs the message to the console.
newWithoutTrace:Creates a PxException with a formatted message without logging it to the console.

Relationships

Inherits From

  • NSError

Inherited By

Top