11 lines
294 B
PHP
11 lines
294 B
PHP
<?php
|
|||
|
|
declare( strict_types=1 );
|
||
|
|
|
||
|
|
namespace StreamGoals\PayPal;
|
||
|
|
|
||
|
|
final class ValidationException extends \InvalidArgumentException {
|
||
|
|
|
||
|
|
public function __construct( public readonly string $errorCode, string $message, public readonly int $status = 400 ) {
|
||
|
|
parent::__construct( $message );
|
||
|
|
}
|
||
|
|
}
|