-
Notifications
You must be signed in to change notification settings - Fork 0
Error
Аббас Гусенов edited this page Jul 8, 2026
·
3 revisions
-
-
Diagnostics library
- Exception categories
-
logic_error- It reports errors that are a consequence of faulty logic within the program such as violating logical preconditions or class invariants and may be preventable.
-
invalid_argument- It reports errors that arise because an argument value has not been accepted.
-
domain_error- It may be used by the implementation to report domain errors, that is, situations where the inputs are outside of the domain on which an operation is defined.
-
length_error- It reports errors that result from attempts to exceed implementation defined length limits for some object.
-
out_of_range- It reports errors that are consequence of attempt to access elements out of defined range.
-
runtime_error- It reports errors that are due to events beyond the scope of the program and cannot be easily predicted.
-
range_error- It can be used to report range errors (that is, situations where a result of a computation cannot be represented by the destination type).
-
overflow_error- It can be used to report arithmetic overflow errors (that is, situations where a result of a computation is too large for the destination type).
-
underflow_error- It may be used to report arithmetic underflow errors (that is, situations where the result of a computation is a subnormal floating-point value).
-
- Exception categories
-
Diagnostics library
-
-
Resource Acquisition is Initialization
- Exceptions in C++
- C++ Standard Library Exceptions
-
Resource Acquisition is Initialization
-
The Julia Programming Language
-
Julia 1.12 Documentation
-
Control Flow
-
Built-in Exceptions
-
ArgumentError- The arguments passed to a function are invalid.
BoundsErrorCompositeExceptionDimensionMismatchDivideErrorDomainErrorEOFErrorErrorExceptionFieldErrorInexactErrorInitErrorInterruptExceptionInvalidStateExceptionKeyErrorLoadErrorOutOfMemoryErrorReadOnlyMemoryErrorRemoteExceptionMethodErrorOverflowErrorMeta.ParseErrorSystemErrorTypeErrorUndefRefErrorUndefVarErrorStringIndexError
-
-
Built-in Exceptions
-
Control Flow
-
Julia 1.12 Documentation
The class hierarchy for built-in exceptions is:
BaseException
├── BaseExceptionGroup
├── GeneratorExit
├── KeyboardInterrupt
├── SystemExit
└── Exception
├── ArithmeticError
│ ├── FloatingPointError
│ ├── OverflowError
│ └── ZeroDivisionError
├── AssertionError
├── AttributeError
├── BufferError
├── EOFError
├── ExceptionGroup [BaseExceptionGroup]
├── ImportError
│ └── ModuleNotFoundError
├── LookupError
│ ├── IndexError
│ └── KeyError
├── MemoryError
├── NameError
│ └── UnboundLocalError
├── OSError
│ ├── BlockingIOError
│ ├── ChildProcessError
│ ├── ConnectionError
│ │ ├── BrokenPipeError
│ │ ├── ConnectionAbortedError
│ │ ├── ConnectionRefusedError
│ │ └── ConnectionResetError
│ ├── FileExistsError
│ ├── FileNotFoundError
│ ├── InterruptedError
│ ├── IsADirectoryError
│ ├── NotADirectoryError
│ ├── PermissionError
│ ├── ProcessLookupError
│ └── TimeoutError
├── ReferenceError
├── RuntimeError
│ ├── NotImplementedError
│ ├── PythonFinalizationError
│ └── RecursionError
├── StopAsyncIteration
├── StopIteration
├── SyntaxError
│ └── IndentationError
│ └── TabError
├── SystemError
├── TypeError
├── ValueError
│ └── UnicodeError
│ ├── UnicodeDecodeError
│ ├── UnicodeEncodeError
│ └── UnicodeTranslateError
└── Warning
├── BytesWarning
├── DeprecationWarning
├── EncodingWarning
├── FutureWarning
├── ImportWarning
├── PendingDeprecationWarning
├── ResourceWarning
├── RuntimeWarning
├── SyntaxWarning
├── UnicodeWarning
└── UserWarning