UNPKG

@atlaskit/profilecard

Version:

A React component to display a card with user information.

6 lines (5 loc) 499 B
import { AGGError, AGGErrors, DirectoryGraphQLError, DirectoryGraphQLErrors } from '../util/errors'; import { type ErrorAttributes } from './types'; export declare const getErrorAttributes: (error?: DirectoryGraphQLErrors | Error | unknown | DirectoryGraphQLError | AGGError | AGGErrors) => ErrorAttributes; export declare const handleDirectoryGraphQLErrors: (errors: unknown, traceId: string | null) => void; export declare const handleAGGErrors: (errors: unknown, traceId: string | null) => void;