Category

Error Handling

29 items

  • AllSameBy

    Check if all the elements of a list give the same value after applying a function

  • CatchEnclose

    Wrapper that combines the functionalities of Catch and Enclose

  • CatchFailure

    Catches any Failure object thrown by an enclosed ThrowFailure evaluation

  • CheckHyperlinks

    Checks hyperlinks in an expression, webpage, or notebook, on your computer or in the cloud

  • DeleteFailures

    Delete failures in an expression

  • DirectoryBlock

    Temporarily change the current directory for an evaluation and ensure that it is restored when evaluation is completed

  • FalseQ

    Determine if an expression is explicitly False

  • FrontEndObjectQ

    Determine if an expression is a valid front end object

  • GaussianIntegerQ

    Determine if a number is a Gaussian integer

  • GetUnboundSymbols

    Get all the non-local symbols that appear in an expression

  • HeadQ

    Check if expressions have certain heads

  • LabeledPrint

    Print an expression with a label of its unevaluated form

  • LookupPart

    Get part of an expression or return a default value if it doesn’t exist

  • MessageReplace

    Modify any messages generated during an evaluation using a set of replacement rules

  • MessagedQ

    Test if a message is issued during an evaluation

  • NaNQ

    Test if a numeric value is an IEEE 754 NaN

  • NestedCatch

    Propagate a Throw upward to the outermost NestedCatch

  • ObjectExistsQ

    Check if an object exists

  • ObjectIfExists

    Get an object only if it exists

  • OnFailure

    Apply a function on an expression when FailureQ gives True on it; otherwise, return the expression

  • PossibleNameQ

    Test if an expression corresponds to a valid symbol name

  • ResetDirectoryStack

    Reset the value of Directory[] and DirectoryStack[]

  • SafeTake

    Safely take elements from lists

  • SymbolsWithOption

    Find and list all symbols with a particular option

  • ThrowFailure

    Throw a Failure object to the nearest enclosing CatchFailure

  • ToExpressionMatched

    Interpret input and check that the resulting expression matches a specific pattern

  • ToggleLogInputs

    Automatic logging of executed input cells to a file

  • ValidatedInputField

    Create an input field that handles erroneous inputs gracefully and responds to the Enter/Return key

  • WithMessageHandler

    Apply a custom handler to messages generated during evaluation