trainingpeaks-sdk
Version:
TypeScript SDK for TrainingPeaks API integration
26 lines • 870 B
TypeScript
import { SDKError } from './sdk-error.js';
export declare class AuthenticationError extends SDKError {
constructor(message: string, code?: string, context?: {
[key: string]: unknown;
});
}
export declare class ValidationError extends SDKError {
constructor(message: string, field?: string, code?: string);
get field(): string | undefined;
}
export declare class WorkoutError extends SDKError {
constructor(message: string, code?: string, context?: {
[key: string]: unknown;
});
}
export declare class NetworkError extends SDKError {
constructor(message: string, code?: string, context?: {
[key: string]: unknown;
});
}
export declare class UserError extends SDKError {
constructor(message: string, code?: string, context?: {
[key: string]: unknown;
});
}
//# sourceMappingURL=domain-errors.d.ts.map