/** * Reserved for internal errors that are thrown by the extension SDK. */ export declare abstract class AttioError extends Error { static is(error: unknown): error is AttioError; abstract get code(): "no-user-connection" | "no-workspace-connection" | "connection-expired" | "unexpected-transport-error"; } /** * Thrown when there is a missing user connection. */ export declare class AttioNoUserConnectionError extends AttioError { constructor(); static is(error: unknown): error is AttioNoUserConnectionError; get code(): "no-user-connection"; } /** * Thrown when there is a missing workspace connection. */ export declare class AttioNoWorkspaceConnectionError extends AttioError { constructor(); static is(error: unknown): error is AttioNoWorkspaceConnectionError; get code(): "no-workspace-connection"; } /** * Thrown when the connection has expired and cannot be refreshed */ export declare class AttioConnectionExpiredError extends AttioError { constructor(); static is(error: unknown): error is AttioConnectionExpiredError; get code(): "connection-expired"; } /** * Thrown when there is an unexpected transport error. */ export declare class AttioUnexpectedTransportError extends AttioError { constructor(); static is(error: unknown): error is AttioUnexpectedTransportError; get code(): "unexpected-transport-error"; } //# sourceMappingURL=errors.d.ts.map