aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/MathExecutor.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/NXP/MathExecutor.php')
-rw-r--r--src/NXP/MathExecutor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/MathExecutor.php b/src/NXP/MathExecutor.php
index f348355..02b034f 100644
--- a/src/NXP/MathExecutor.php
+++ b/src/NXP/MathExecutor.php
@@ -92,7 +92,7 @@ class MathExecutor
public function setVar($variable, $value)
{
if (!is_numeric($value)) {
- throw new \Exception("Variable value must be a number");
+ throw new \Exception("Variable ({$variable}) value must be a number ({$value})");
}
$this->variables[$variable] = $value;