arkaitzgarro/elastic-apm-laravel

View on GitHub
src/Exception/NoCurrentTransactionException.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace AG\ElasticApmLaravel\Exception;

class NoCurrentTransactionException extends ElasticApmLaravelException
{
    public function __construct(int $code = 0, ?\Throwable $previous = null)
    {
        parent::__construct('No transaction is currently registered. Ensure a transaction is started.', $code, $previous);
    }
}