Updated on 2022-02-24 GMT+08:00

Methods of the NorthApiException Class

An exception is reported when an error occurs during SDK processing or platform request processing. The exception is encapsulated into an NorthApiException object and then reported to the method invoker. The following describes the main methods (excluding the set method):

Method

Description

public function __get($name)

Obtains the attribute information of the exception, for example, the error code ($e->error_code).