public static function assertErrors(
        $status,
        $contentType,
        $content,
        int $expectedStatus,
        array $errors,
        bool $strict = true,
        string $message = ''
    ): Document
    {
        return self::assertJsonApi($status, $contentType, $content, $expectedStatus, $message)
            ->assertErrors($errors, $strict, $message);
    }
public static function assertErrors(
        $status,
        $contentType,
        $content,
        int $expectedStatus,
        array $errors,
        bool $strict = true,
        string $message = ''
    ): Document
    {
        return self::assertJsonApi($status, $contentType, $content, $expectedStatus, $message)
            ->assertErrors($errors, $strict, $message);
    }
public static function assertErrors ( $ status , $ contentType , $ content , int $ expectedStatus , array $ errors , bool $ strict = true , string $ message = '' ) : Document { return self :: assertJsonApi ( $ status , $ contentType , $ content , $ expectedStatus , $ message ) -> assertErrors ( $ errors , $ strict , $ message ) ; }
Assert the HTTP status contains the supplied errors.

@param $status
@param $contentType
@param $content
@param int $expectedStatus
@param array $errors
@param bool $strict
@param string $message
@return Document
Assert the HTTP status contains the supplied errors .