@adcp/client API Reference - v3.3.3
    Preparing search index...

    Function isErrorOfType

    • Type guard to check if an error is a specific ADCP error type

      Type Parameters

      Parameters

      • error: unknown
      • ErrorClass: new (...args: any[]) => T

      Returns error is T