Function isDBError

  • Convenience function for duck-typing if an error is an Oracle DBError as node-oracledb doesn't expose one

    Note: when using thick-client, the Error may be cross-realm, so instanceof Error won't work

    Parameters

    • error: unknown

    Returns error is DBError

Generated using TypeDoc