Skip to content

Commit

Permalink
Update unwrap docs (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
msosnicki authored Nov 14, 2023
1 parent 0ba148d commit 10964ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ public Optional<T> getResult() {
}

/**
* Get the result, but throw if there are any ERROR events or if the
* Get the result, but throw if there are any ERROR or DANGER events or if the
* result is empty.
*
* @return Returns the result.
* @throws ValidatedResultException if there are any ERROR events.
* @throws ValidatedResultException if there are any ERROR or DANGER events.
* @throws IllegalStateException if there is no result.
*/
public T unwrap() {
Expand Down

0 comments on commit 10964ee

Please sign in to comment.