for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Monobank\Exception;
use Exception;
/**
* Class RequestException.
*/
class RequestException extends Exception implements MonobankException
{
* @return RequestException
public static function maxPersonalStatementPeriod(): self
return new self('The maximum period is 31 days (2678400 seconds).');
}
public static function invalidPersonalStatementPeriod(): self
return new self('"Date to" should be greater than "date from".');