final public function call($method, $args = [])
{
try {
return $this->_apiCall($method, $args);
} catch (Custom_Exception $e) {
throw $e;
} catch (Throwable $e) {
throw new Custom_Exception('Unexpected error: '.$e->getMessage(), $e->getCode(), $e);
}
}
Posted by kiatng to OpenMage (2021-06-22 01:08)