Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223<?php
declare(strict_types=1);
namespace Wotnak\Atproto\Exception;
/** * Identity data could not be resolved. * * @api */final class IdentityResolutionException extends \RuntimeException {
public function __construct( public readonly string $identifier, public readonly string $resolutionType, ?string $message = NULL, ) { parent::__construct($message ?? \sprintf('Could not resolve %s identity "%s".', $resolutionType, $identifier)); }
}