Table of Contents
Interfaces
- ExceptionInterface
Constants
-
HINT_MESSAGE
= "Hint: It might not be working because maybe you're not up to date with the Meilisearch version that `%s` call requires."
Properties
-
$errorCode
: string|null
-
$errorLink
: string|null
-
$errorType
: string|null
-
$httpBody
: mixed
-
$httpStatus
: mixed
-
$message
: mixed
Methods
-
__construct()
: mixed
-
__toString()
: mixed
-
rethrowWithHint()
: mixed
-
getErrorCodeFromHttpBody()
: string|null
-
getErrorLinkFromHttpBody()
: string|null
-
getErrorTypeFromHttpBody()
: string|null
-
getMessageFromHttpBody()
: string|null
HINT_MESSAGE
public
mixed
HINT_MESSAGE
= "Hint: It might not be working because maybe you're not up to date with the Meilisearch version that `%s` call requires."
$errorCode
public
string|null
$errorCode
$errorLink
public
string|null
$errorLink
$errorType
public
string|null
$errorType
$httpBody
public
mixed
$httpBody
$httpStatus
public
mixed
$httpStatus
= 0
$message
public
mixed
$message
__construct()
public
__construct(ResponseInterface $response, mixed $httpBody[, mixed $previous = null ]) : mixed
Parameters
-
$response
: ResponseInterface
-
-
$httpBody
: mixed
-
-
$previous
: mixed
= null
-
__toString()
public
__toString() : mixed
rethrowWithHint()
public
static rethrowWithHint(Exception $e, string $methodName) : mixed
Parameters
-
$e
: Exception
-
-
$methodName
: string
-
getErrorCodeFromHttpBody()
private
getErrorCodeFromHttpBody() : string|null
Return values
string|null
getErrorLinkFromHttpBody()
private
getErrorLinkFromHttpBody() : string|null
Return values
string|null
getErrorTypeFromHttpBody()
private
getErrorTypeFromHttpBody() : string|null
Return values
string|null
getMessageFromHttpBody()
private
getMessageFromHttpBody() : string|null
Return values
string|null