diff --git a/CHANGELOG.md b/CHANGELOG.md index d0f9afdc52..93fd4c7fb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased - fix: Use Span on Scope instead of Transaction for GuzzleMiddleware (#1099) +- Add setter for value on the `ExceptionDataBag` (#1100) ## 3.0.0 (2020-09-28) diff --git a/src/ExceptionDataBag.php b/src/ExceptionDataBag.php index 1d096c8676..0173e3a614 100644 --- a/src/ExceptionDataBag.php +++ b/src/ExceptionDataBag.php @@ -58,6 +58,14 @@ public function getValue(): string return $this->value; } + /** + * Sets the value of the exception. + */ + public function setValue(string $value): void + { + $this->value = $value; + } + /** * Gets the stack trace object corresponding to the Stack Trace Interface. */