//#region src/profiles/errors.d.ts /** * Error types for Databricks configuration profile operations. * * @module */ /** Discriminant codes for {@link ProfileError}. */ type ProfileErrorCode = 'CONFIG_FILE_NOT_FOUND' | 'PROFILE_NOT_FOUND' | 'EMPTY_PATH' | 'EMPTY_PROFILE' | 'INVALID_PROFILE_NAME' | 'CONFLICTING_OPTIONS'; /** * Error thrown by profile operations. * * Use the {@link ProfileError.code} field to distinguish between error causes. */ declare class ProfileError extends Error { readonly code: ProfileErrorCode; constructor(code: ProfileErrorCode, message: string); } //#endregion export { ProfileError, ProfileErrorCode }; //# sourceMappingURL=errors.d.ts.map