From e1e391eba45e2c65f9d89d06d9f102c4783e6ae5 Mon Sep 17 00:00:00 2001 From: adigitoleo Date: Thu, 6 Jan 2022 12:51:39 +1100 Subject: [PATCH] Add mention of `rethrow()` to `?throw` (#43669) --- base/error.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/error.jl b/base/error.jl index a1a7d1817d4c6..4c47dcfa9ef6e 100644 --- a/base/error.jl +++ b/base/error.jl @@ -19,7 +19,8 @@ """ throw(e) -Throw an object as an exception. +Throw an object as an exception. To rethrow the current exception from +within a `catch` block, use `rethrow()`. """ throw