mautic / app /bundles /CoreBundle /Exception /FlattenableException.php
chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
raw
history blame contribute delete
469 Bytes
<?php
namespace Mautic\CoreBundle\Exception;
abstract class FlattenableException extends \Exception
{
/**
* @return array{'message': string, 'file': string, 'line': int, 'trace': string}
*/
public function toArray(): array
{
return [
'message' => $this->getMessage(),
'file' => $this->getFile(),
'line' => $this->getLine(),
'trace' => $this->getTraceAsString(),
];
}
}