@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and
45 lines (44 loc) • 1.43 kB
TypeScript
/**
* Base error class for all NeuroLink-specific errors.
* This allows for easy identification of errors thrown by the SDK.
*/
export declare class BaseError extends Error {
constructor(message: string);
}
/**
* Thrown when a provider encounters a generic error.
*/
export declare class ProviderError extends BaseError {
provider?: string | undefined;
constructor(message: string, provider?: string | undefined);
}
/**
* Thrown for authentication-related errors, such as invalid or missing API keys.
*/
export declare class AuthenticationError extends ProviderError {
constructor(message: string, provider?: string);
}
/**
* Thrown for authorization errors, where the user does not have permission.
*/
export declare class AuthorizationError extends ProviderError {
constructor(message: string, provider?: string);
}
/**
* Thrown for network-related issues, such as connectivity problems or timeouts.
*/
export declare class NetworkError extends ProviderError {
constructor(message: string, provider?: string);
}
/**
* Thrown when an API rate limit has been exceeded.
*/
export declare class RateLimitError extends ProviderError {
constructor(message: string, provider?: string);
}
/**
* Thrown when a specified model is not found or is invalid for the provider.
*/
export declare class InvalidModelError extends ProviderError {
constructor(message: string, provider?: string);
}