mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
16 lines
709 B
JavaScript
16 lines
709 B
JavaScript
import { Player } from "./Player";
|
|
import { Bladeburner } from "./Bladeburner";
|
|
import { makeRuntimeRejectMsg } from "./NetscriptEvaluator";
|
|
|
|
function unknownBladeburnerActionErrorMessage(functionName, actionType, actionName) {
|
|
return `ERROR: bladeburner.${functionName}() failed due to an invalid action specified. ` +
|
|
`Type: ${actionType}, Name: ${actionName}. Note that for contracts and operations, the ` +
|
|
`name of the operation is case-sensitive.`;
|
|
}
|
|
|
|
function unknownBladeburnerExceptionMessage(functionName, err) {
|
|
return `bladeburner.${functionName}() failed with exception: ` + err;
|
|
}
|
|
|
|
export {unknownBladeburnerActionErrorMessage, unknownBladeburnerExceptionMessage, checkBladeburnerAccess};
|