hphp/hack/manual/apis/Classes/AsyncMysqlQueryException/index.md
:::info[Note] This is a point-in-time snapshot of the API documentation from January 2026. Going forward, we will not be maintaining a public copy of these references, and recommend users to refer to the built-in signature helpers available in the Hack LSP instead for complete and up-to-date information. :::
The exception associated with a MySQL query failure
All methods are the same as the base AsyncMysqlException.
class AsyncMysqlQueryException extends AsyncMysqlException {...}
AsyncMysqlException)->__construct(AsyncMysqlErrorResult $result)AsyncMysqlException->failed(): bool->getResult(): AsyncMysqlErrorResultAsyncMysqlErrorResult associated with the current
exception->mysqlErrorCode(): int->mysqlErrorString(): string->timedOut(): bool