npm package diff
Package: @forge/sql
Versions: 2.2.0-next.2 - 2.2.0-next.3
File: package/out/utils/response-handler.d.ts
Index: package/out/utils/response-handler.d.ts
===================================================================
--- package/out/utils/response-handler.d.ts
+++ package/out/utils/response-handler.d.ts
@@ -1,20 +0,0 @@
-import { Response, Result } from './types';
-export declare class ApiError extends Error {
- readonly status: number;
- readonly code: string;
- 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<DataType>(response: Response): Promise<Result<DataType>>;
-//# sourceMappingURL=response-handler.d.ts.map
\ No newline at end of file