AsyncMysqlConnectException
The exception associated with a MySQL connection failure
All methods are the same as the base AsyncMysqlException
.
Interface Synopsis
class AsyncMysqlConnectException extends AsyncMysqlException {...}
Public Methods (AsyncMysqlException
)
->__construct(AsyncMysqlErrorResult $result)
Explicitly construct anAsyncMysqlException
->failed(): bool
Returns whether the type of failure that produced the exception was a general connection or query failure->getResult(): AsyncMysqlErrorResult
Returns the underlyingAsyncMysqlErrorResult
associated with the current exception->mysqlErrorCode(): int
Returns the MySQL error number for that caused the current exception->mysqlErrorString(): string
Returns a human-readable string for the error encountered in the current exception->timedOut(): bool
Returns whether the type of failure that produced the exception was a timeout