Files
bitburner-src/markdown/bitburner.darknetresponsecodetype.md
Michael Ficocelli 6073964768 DARKNET: Darkweb Expansion Project & Bitnode (#2139)
This is BN15. It is a really big change; see the PR for all the details.
2026-02-03 03:40:36 -08:00

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;
};