@forge/sql
2.0.1-next.12.1.0-next.2
out/utils/response-handler.d.tsout/utils/response-handler.d.ts+10
Index: package/out/utils/response-handler.d.ts
===================================================================
--- package/out/utils/response-handler.d.ts
+++ package/out/utils/response-handler.d.ts
@@ -5,6 +5,16 @@
readonly suggestion?: string | undefined;
readonly debug?: any;
constructor(status: number, code: string, message: string, suggestion?: string | undefined, debug?: any);
}
+export declare class MigrationExecutionError extends Error {
+ readonly migrationName: string;
+ readonly migrationsYetToRun: string[];
+ constructor(migrationName: string, migrationsYetToRun: string[]);
+}
+export declare class MigrationCheckPointError extends Error {
+ readonly migrationName: string;
+ readonly migrationsYetToRun: string[];
+ constructor(migrationName: string, migrationsYetToRun: string[]);
+}
export declare function getResponseBody(response: Response): Promise<Result>;
//# sourceMappingURL=response-handler.d.ts.map
\ No newline at end of file