File "AuthenticationError.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/kreait/firebase-php/src/Firebase/Exception/Messaging/AuthenticationError.php
File size: 611 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
declare(strict_types=1);
namespace Kreait\Firebase\Exception\Messaging;
use Kreait\Firebase\Exception\HasErrors;
use Kreait\Firebase\Exception\MessagingException;
use Kreait\Firebase\Exception\RuntimeException;
final class AuthenticationError extends RuntimeException implements MessagingException
{
use HasErrors;
/**
* @internal
*
* @param array<mixed> $errors
*/
public function withErrors(array $errors): self
{
$new = new self($this->getMessage(), $this->getCode(), $this->getPrevious());
$new->errors = $errors;
return $new;
}
}