Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324<?php
declare(strict_types=1);
namespace Wotnak\Atproto\Exception;
/** * XRPC response decoded successfully but had an unsupported shape. * * @api */final class XrpcResponseException extends XrpcException {
public function __construct( string $method, string $serviceUrl, public readonly int $statusCode, public readonly mixed $decodedBody, ) { parent::__construct(\sprintf('XRPC response %s did not contain a JSON object.', $method), $method, $serviceUrl); }
}