mirror of
https://github.com/snobu/destreamer.git
synced 2026-02-28 17:18:24 +00:00
created error for no port aviable
This commit is contained in:
@@ -10,7 +10,8 @@ export const enum ERROR_CODE {
|
|||||||
NO_SESSION_INFO,
|
NO_SESSION_INFO,
|
||||||
NO_ENCRYPTION,
|
NO_ENCRYPTION,
|
||||||
ARIA2C_CRASH,
|
ARIA2C_CRASH,
|
||||||
NO_CONNECT_ARIA2C
|
NO_CONNECT_ARIA2C,
|
||||||
|
NO_DEAMON_PORT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -36,7 +37,9 @@ export const errors: {[key: number]: string} = {
|
|||||||
|
|
||||||
[ERROR_CODE.ARIA2C_CRASH]: 'The aria2c rpc server crashed with the previous message',
|
[ERROR_CODE.ARIA2C_CRASH]: 'The aria2c rpc server crashed with the previous message',
|
||||||
|
|
||||||
[ERROR_CODE.NO_CONNECT_ARIA2C]: 'Could not connect to Aria2c json-rpc webSocket'
|
[ERROR_CODE.NO_CONNECT_ARIA2C]: 'Could not connect to Aria2c json-rpc webSocket',
|
||||||
|
|
||||||
|
[ERROR_CODE.NO_DEAMON_PORT]: 'Could not get a free port to use'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user