Skip to main content

Error

The base type for all exceptions and error conditions in Aleph.

Error represents exceptional situations that can occur during program execution. It serves as the root exception type from which all other error types inherit. Error objects contain information about what went wrong and can be thrown and caught using try-catch blocks. Common subtypes include RuntimeError, LogicError, OutOfRangeError, and ArithmeticError, each representing different categories of errors.

Members

NameDescription
whatReturns the error message of the exception.