run402-mcp
Version:
MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
15 lines • 649 B
TypeScript
import { ApiError, type Run402Error } from "./errors.js";
/** Client diagnostic only: the original PostgREST body/status remain available. */
export declare class RestPermissionDenied extends ApiError {
readonly code = "REST_PERMISSION_DENIED";
readonly details: {
source: "postgrest";
upstream_status: number | null;
upstream_code: "42501";
method: string;
relation: string;
};
constructor(error: Run402Error, method: string, relation: string);
}
export declare function restDiagnostic(error: unknown, method: string, relation: string): unknown;
//# sourceMappingURL=rest-diagnostics.d.ts.map