Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
ErrorTools
Guides
ErrorTools
Tech Notes
Error Handling with ErrorTools
Symbols
Raise
Wolfram`ErrorTools`
R
a
i
s
e
R
a
i
s
e
[
t
a
g
,
a
s
s
o
c
]
r
a
i
s
e
s
a
F
a
i
l
u
r
e
[
…
]
e
x
c
e
p
t
i
o
n
w
i
t
h
t
y
p
e
i
n
d
i
c
a
t
e
d
b
y
e
x
p
a
n
d
i
n
g
t
a
g
a
n
d
d
e
t
a
i
l
s
g
i
v
e
n
b
y
t
h
e
a
s
s
o
c
i
a
t
i
o
n
a
s
s
o
c
.
.
R
a
i
s
e
[
t
a
g
,
"
f
m
t
"
,
f
m
t
a
r
g
s
…
]
r
a
i
s
e
s
a
F
a
i
l
u
r
e
[
…
]
e
x
c
e
p
t
i
o
n
w
i
t
h
t
y
p
e
i
n
d
i
c
a
t
e
d
b
y
e
x
p
a
n
d
i
n
g
t
a
g
a
n
d
w
i
t
h
t
h
e
s
p
e
c
i
f
i
e
d
f
o
r
m
a
t
t
e
d
m
e
s
s
a
g
e
R
a
i
s
e
[
t
a
g
,
a
s
s
o
c
,
"
f
m
t
"
,
f
m
t
a
r
g
s
…
]
r
a
i
s
e
s
a
F
a
i
l
u
r
e
[
…
]
e
x
c
e
p
t
i
o
n
w
i
t
h
t
y
p
e
i
n
d
i
c
a
t
e
d
b
y
e
x
p
a
n
d
i
n
g
t
a
g
,
d
e
t
a
i
l
s
g
i
v
e
n
b
y
t
h
e
a
s
s
o
c
i
a
t
i
o
n
a
s
s
o
c
,
a
n
d
t
h
e
s
p
e
c
i
f
i
e
d
f
o
r
m
a
t
t
e
d
m
e
s
s
a
g
e
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
7
)
Basic Examples
(
3
)
Raise a
F
a
i
l
u
r
e
exception with a custom message and handle it:
I
n
[
1
]
:
=
H
a
n
d
l
e
[
R
a
i
s
e
[
"
T
h
e
E
r
r
o
r
"
,
"
S
o
m
e
t
h
i
n
g
w
e
n
t
w
r
o
n
g
.
"
]
,
_
F
a
i
l
u
r
e
]
O
u
t
[
1
]
=
F
a
i
l
u
r
e
M
e
s
s
a
g
e
:
S
o
m
e
t
h
i
n
g
w
e
n
t
w
r
o
n
g
.
T
a
g
:
T
h
e
E
r
r
o
r
Raise a
F
a
i
l
u
r
e
without any enclosing handler:
I
n
[
1
]
:
=
R
a
i
s
e
[
"
T
h
e
E
r
r
o
r
"
,
"
S
o
m
e
t
h
i
n
g
w
e
n
t
w
r
o
n
g
.
"
]
T
h
r
o
w
:
U
n
c
a
u
g
h
t
T
h
r
o
w
F
a
i
l
u
r
e
M
e
s
s
a
g
e
:
S
o
m
e
t
h
i
n
g
w
e
n
t
w
r
o
n
g
.
T
a
g
:
T
h
e
E
r
r
o
r
,
$
R
a
i
s
e
T
h
r
o
w
T
a
g
r
e
t
u
r
n
e
d
t
o
t
o
p
l
e
v
e
l
.
O
u
t
[
1
]
=
H
o
l
d
T
h
r
o
w
F
a
i
l
u
r
e
M
e
s
s
a
g
e
:
S
o
m
e
t
h
i
n
g
w
e
n
t
w
r
o
n
g
.
T
a
g
:
T
h
e
E
r
r
o
r
,
$
R
a
i
s
e
T
h
r
o
w
T
a
g
Provide custom formatted arguments to raised
F
a
i
l
u
r
e
messages:
I
n
[
1
]
:
=
H
a
n
d
l
e
[
R
a
i
s
e
[
"
T
h
e
E
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