for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Larium\Pay;
use LogicException;
class TransactionException extends LogicException
{
public static function unableToCommit()
return new self("Transaction cannot be commited.");
}
public static function alreadyCommited()
return new self('Transaction already commited. No changes allowed.');