@adcp/sdk API Reference - v7.9.0
    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