Split monolithic kernel_commands.rs (2185 lines) and pipeline_commands.rs (1391 lines) into focused sub-modules under kernel_commands/ and pipeline_commands/ directories. Add gateway module (commands, config, io, runtime), health_check, and 15 new TypeScript client libraries for SaaS relay, auth, admin, telemetry, and kernel sub-systems (a2a, agent, chat, hands, skills, triggers). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
284 B
TypeScript
17 lines
284 B
TypeScript
/**
|
|
* SaaS Error Class
|
|
*
|
|
* Custom error for SaaS API responses.
|
|
*/
|
|
|
|
export class SaaSApiError extends Error {
|
|
constructor(
|
|
public readonly status: number,
|
|
public readonly code: string,
|
|
message: string,
|
|
) {
|
|
super(message);
|
|
this.name = 'SaaSApiError';
|
|
}
|
|
}
|