diff options
author | Julien Dessaux | 2024-04-06 21:36:42 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-04-07 23:01:52 +0200 |
commit | 3e80bc8a4d3127d17dbc3f52301d33a79e53a980 (patch) | |
tree | 41caed2075ed39f8eec5f3465aded203ae377c58 /nodejs/lib/errors.ts | |
parent | [node] waypoints usage refactoring (diff) | |
download | spacetraders-3e80bc8a4d3127d17dbc3f52301d33a79e53a980.tar.gz spacetraders-3e80bc8a4d3127d17dbc3f52301d33a79e53a980.tar.bz2 spacetraders-3e80bc8a4d3127d17dbc3f52301d33a79e53a980.zip |
[node] multiple contracting fixes and some more refactoring
Diffstat (limited to '')
-rw-r--r-- | nodejs/lib/errors.ts | 5 |
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; |