mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 02:03:58 +01:00
16 lines
498 B
JavaScript
16 lines
498 B
JavaScript
export 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.`
|
|
);
|
|
}
|
|
|
|
export function unknownBladeburnerExceptionMessage(functionName, err) {
|
|
return `bladeburner.${functionName}() failed with exception: ` + err;
|
|
}
|