summaryrefslogtreecommitdiff
path: root/nodejs/lib/errors.ts
diff options
context:
space:
mode:
authorJulien Dessaux2024-04-06 21:36:42 +0200
committerJulien Dessaux2024-04-07 23:01:52 +0200
commit3e80bc8a4d3127d17dbc3f52301d33a79e53a980 (patch)
tree41caed2075ed39f8eec5f3465aded203ae377c58 /nodejs/lib/errors.ts
parent[node] waypoints usage refactoring (diff)
downloadspacetraders-3e80bc8a4d3127d17dbc3f52301d33a79e53a980.tar.gz
spacetraders-3e80bc8a4d3127d17dbc3f52301d33a79e53a980.tar.bz2
spacetraders-3e80bc8a4d3127d17dbc3f52301d33a79e53a980.zip
[node] multiple contracting fixes and some more refactoring
Diffstat (limited to 'nodejs/lib/errors.ts')
-rw-r--r--nodejs/lib/errors.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/nodejs/lib/errors.ts b/nodejs/lib/errors.ts
index f9dca89..c560ee8 100644
--- a/nodejs/lib/errors.ts
+++ b/nodejs/lib/errors.ts
@@ -1,5 +1,10 @@
import { Cooldown } from './types.ts';
+export type ContractDeadlineExpired = {
+ contractId: string;
+ deadline: Date;
+};
+
export type MarketTradeVolumeError = {
waypointSymbol: string;
tradeSymbol: string;