/*! * Copyright (C) Microsoft Corporation. All rights reserved. */ export declare function stringifyError(error: unknown): string; export declare function isCancellationError(error: unknown): error is Error; /** * Thrown by `addDataSourceAsync` when every operation in a connector's swagger is * marked `x-ms-visibility: internal`, leaving nothing to generate. The CLI * surfaces this to the user as a usage error. * * Mirrors `NoPublicActionsError` in `@microsoft/managed-apps-actions` — both stacks * must fail the same way for an all-internal connector, message included. * * `internalActions` is kept as structured data for telemetry and callers; it is * deliberately not spelled out in the message, which stays to the point. */ export declare class NoPublicActionsError extends Error { readonly connectorDisplayName: string; readonly internalActions: number; constructor(connectorDisplayName: string, internalActions: number); } //# sourceMappingURL=ErrorUtils.d.ts.map