True if the exception is a database closed error
@override bool isDatabaseClosedError() => cause is DatabaseException ? (cause as DatabaseException).isDatabaseClosedError() : false;