gdbots/ncr-php

View on GitHub
src/Exception/OptimisticCheckFailed.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
declare(strict_types=1);

namespace Gdbots\Ncr\Exception;

use Gdbots\Schemas\Pbjx\Enum\Code;

final class OptimisticCheckFailed extends \RuntimeException implements GdbotsNcrException
{
    public function __construct(string $message = '', ?\Throwable $previous = null)
    {
        parent::__construct($message, Code::FAILED_PRECONDITION->value, $previous);
    }
}