A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/guide/RobustnessAndErrorHandling.html below:

Robustness & Error Handling—Wolfram Language Documentation

Robustness & Error Handling—Wolfram Language Documentation WOLFRAM Products

More mobile apps

Core Technologies of Wolfram Products Deployment Options From the Community Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

Wolfram Solutions

More Wolfram Solutions

Wolfram Solutions For Education

More Solutions for Education

Learning & Support Get Started More Learning Grow Your Skills Tech Support Company Work with Us Educational Programs for Adults Educational Programs for Youth Read Educational Resources Wolfram Initiatives Events Wolfram|Alpha Wolfram Cloud Your Account Search Navigation Menu Wolfram Language & System Documentation Center Wolfram Language Home Page » GUIDE Robustness & Error Handling

The Wolfram Language provides a variety of mechanisms for detecting and managing errors and for helping ensure that programs are robust and operate as intended. The Confirm family of functions allows various forms of error conditions to be checked during the execution of a program, with program execution immediately terminated when errors are detected. Enclose defines the scope in a program in which errors will be caught.

Function Argument Checking

CheckArguments check the structure of function arguments

Condition (/;) require a pattern or definition to satisfy a condition

ArgumentsOptions  ▪  OptionsPattern

Runtime Error Handling

Confirm evaluate an expression, confirming that no failure is generated

Enclose evaluate an expression, stopping and returning a failure object if a failure occurs

WithCleanup run cleanup code even if an evaluation is interrupted

Failsafe create a version of a function protected against bad input

Types of Confirmation

ConfirmBy evaluate an expression, confirming that the result satisfies a condition

ConfirmMatch evaluate an expression, confirming that the result matches a pattern

ConfirmQuiet evaluate an expression, confirming that no messages are generated

ConfirmAssert confirm that an assertion is satisfied

Failure Representation

Failure  ▪  Missing  ▪  $Failed  ▪  TerminatedEvaluation

Code Monitoring

Assert abort if a condition is not satisfied

Interrupt  ▪  Abort

Echo print an intermediate result

EchoEvaluation  ▪  EchoTiming  ▪  EchoFunction  ▪  EchoLabel

Low-Level Error Handling

Check  ▪  CheckAbort  ▪  AbortProtect  ▪  PropagateAborts

Throw  ▪  Catch

Related Guides Top

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4