public static function assertExactErrorStatus(
        $status,
        $contentType,
        $content,
        array $error,
        bool $strict = true,
        string $message = ''
    ): Document
    {
        $expectedStatus = $error['status'] ?? null;

        if (!$expectedStatus) {
            throw new \InvalidArgumentException('Expecting error to have a status member.');
        }

        return self::assertExactError(
            $status,
            $contentType,
            $content,
            (int) $expectedStatus,
            $error,
            $strict,
            $message
        );
    }