kenya-locations
Version:
A comprehensive and intuitive TypeScript package for working with Kenyan administrative divisions (counties, sub-counties, constituencies, and wards)
19 lines (18 loc) • 612 B
TypeScript
export declare class LocationError extends Error {
constructor(message: string);
}
export declare class LocationNotFoundError extends LocationError {
constructor(locationType: string, identifier: string);
}
export declare class InvalidLocationCodeError extends LocationError {
constructor(code: string);
}
export declare class SearchError extends LocationError {
constructor(message: string);
}
export declare class DataValidationError extends LocationError {
constructor(message: string);
}
export declare class ConfigurationError extends LocationError {
constructor(message: string);
}