first commit

This commit is contained in:
2026-06-09 18:35:55 -03:00
commit 3581e221d0
448 changed files with 519709 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
export class ClarizenApiError extends Error {
errorCode;
referenceId;
status;
constructor(status, body) {
super(body.message);
this.name = "ClarizenApiError";
this.status = status;
this.errorCode = body.errorCode;
this.referenceId = body.referenceId;
}
isSessionTimeout() {
return this.errorCode === "SessionTimeout";
}
}
//# sourceMappingURL=errors.js.map