CalendarApiException
extends InfrastructureException
in package
FinalYes
Table of Contents
Properties
- $errorCode : string
- $httpStatusCode : int
Methods
- __construct() : mixed
- authenticationFailed() : self
- clientInitializationFailed() : self
- fetchingEventsFailed() : self
- invalidApiKey() : self
Properties
$errorCode read-only
public
string
$errorCode
= "INFRASTRUCTURE_ERROR"
$httpStatusCode read-only
public
int
$httpStatusCode
= 500
Methods
__construct()
public
__construct(string $message[, string $errorCode = "INFRASTRUCTURE_ERROR" ][, int $httpStatusCode = 500 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string
- $errorCode : string = "INFRASTRUCTURE_ERROR"
- $httpStatusCode : int = 500
- $previous : Throwable|null = null
authenticationFailed()
public
static authenticationFailed(Throwable $previous) : self
Parameters
- $previous : Throwable
Return values
selfclientInitializationFailed()
public
static clientInitializationFailed(Throwable $previous) : self
Parameters
- $previous : Throwable
Return values
selffetchingEventsFailed()
public
static fetchingEventsFailed(Throwable $previous) : self
Parameters
- $previous : Throwable
Return values
selfinvalidApiKey()
public
static invalidApiKey() : self