UNPKG

@geoapify/route-planner-sdk

Version:

A TypeScript SDK for the Geoapify Route Planner API that simplifies route optimization requests, and helps visualize and edit resulting routes.

8 lines (7 loc) 184 B
export class RoutePlannerError extends Error { constructor(errorName, message) { super(message); this.errorName = errorName; this.name = errorName; } }