Property | Type | Description | |
---|---|---|---|
$api | The url of the error api without trailing slash. Make sure you have installed the error api module on the requested api url (https://luya.io/guide/module/luyadev---luya-module-errorapi). | ||
$transferException | Enable the transfer of exceptions to the defined $api server. |
Method | Description | |
---|---|---|
getExceptionArray ( mixed $exception ) : array | Get an readable array to transfer from an exception | |
renderException ( $exception ) | ||
transferMessage ( string $message, string $file = __FILE__, string $line = __LINE__ ) | Send a custom message to the api server event its not related to an exception. |
Method | Description | |
---|---|---|
apiServerSendData ( array $data ) : boolean | null | Send the array data to the api server. | |
buildTrace ( $exception ) |
public getExceptionArray ( mixed $exception ) : array | ||
$exception | mixed | Exception object |
return | array | An array with transformed exception data |
public $api |