interface LostConnectionDetector (View source)

Methods

bool
causedByLostConnection(Throwable $e)

Determine if the given exception was caused by a lost connection.

Details

bool causedByLostConnection(Throwable $e)

Determine if the given exception was caused by a lost connection.

Parameters

Throwable $e

Return Value

bool

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.