Documentation

FailedInferenceResponse extends BaseResponse
in package

Webhook payload returned when an inference fails before producing a result.

Table of Contents

Properties

$createdAt  : DateTimeImmutable
$error  : ErrorResponse
$fileAlias  : string
$fileName  : string
$inferenceId  : string
$modelId  : string

Methods

__construct()  : mixed
getRawHttp()  : string

Properties

Methods

__construct()

public __construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawResponse) : mixed
Parameters
$rawResponse : array<string, int|float|string|bool|null|array<string|int, mixed>>

Raw server response array.

Tags
throws
Exception

if the date can't be constructed.

getRawHttp()

public getRawHttp() : string
Return values
string

Raw dump of the JSON response.

On this page

Search results