Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libs/contract/constants/errors/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './errors';
export * from './known-errors';
10 changes: 10 additions & 0 deletions libs/contract/constants/errors/known-errors.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export const REMNAWAVE_NODE_KNOWN_ERROR = 'Remnawave Node Known Error';

export const KNOWN_ERRORS = {
XRAY_FAILED_TO_START: {
code: 'RN-001',
message: 'Xray core failed to start',
documentationUrl:
'https://remna.st/docs/guides/common-errors#xml-rpc-fault-spawn-error-xray',
},
};
2 changes: 1 addition & 1 deletion libs/contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remnawave/node-contract",
"version": "0.5.0",
"version": "0.5.1",
"description": "A node-contract library for Remnawave Panel",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
Loading