mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
1.1 KiB
1.1 KiB
Home > bitburner > DarknetResponseCodeType
DarknetResponseCodeType type
Errors:
-
DirectConnectionRequired: The target server is not directly connected to the current server. This may be caused by a user error (specifying the wrong neighbor host's hostname) or a network change (the target server was moved).
-
AuthFailure: Authentication failed. The password is incorrect.
-
NotFound: The API requires a specific resource (e.g., an exe file), but it does not exist on the server.
-
RequestTimeOut: The request failed (though the password may or may not have been correct). Caused by network instability.
-
ServiceUnavailable: The server is offline.
Signature:
type DarknetResponseCodeType = {
Success: 200;
DirectConnectionRequired: 351;
AuthFailure: 401;
Forbidden: 403;
NotFound: 404;
RequestTimeOut: 408;
NotEnoughCharisma: 451;
StasisLinkLimitReached: 453;
NoBlockRAM: 454;
PhishingFailed: 455;
ServiceUnavailable: 503;
};