fix: export OasstError

This commit is contained in:
Jack Michaud
2023-01-06 10:21:23 -05:00
parent 6eca350826
commit 239c10c2dc
2 changed files with 2 additions and 2 deletions
@@ -1,4 +1,4 @@
import { OasstApiClient } from "src/lib/oasst_api_client";
import { OasstApiClient, OasstError } from "src/lib/oasst_api_client";
describe("Contract test for Oasst API", function () {
// Assumes this is running the mock server.
+1 -1
View File
@@ -5,7 +5,7 @@ declare global {
var oasstApiClient: OasstApiClient | undefined;
}
class OasstError {
export class OasstError {
message: string;
errorCode: number;
httpStatusCode: number;