• True when an error means the database connection is unavailable (lost, refused, timed out, shutting down), not that the statement failed. Walks cause so a wrapped native error is recognized.

    Parameters

    • error: unknown
    • depth: number = 0

    Returns boolean