Documentation Language: Swift

Enumeration

OCLError

Errors that can occur during OCL operation evaluation.

enum OCLError

Overview

OCL operations may fail due to invalid arguments, type mismatches, or other runtime conditions. This enumeration provides structured error reporting for all OCL operation failures.

Topics

Enumeration Cases

E
OCLError.divisionByZero

Division by zero was attempted.

E
OCLError.emptyCollection(_:)

An operation was attempted on an empty collection.

E
OCLError.indexOutOfBounds(_:_:)

An index was out of bounds for a collection.

E
OCLError.invalidArguments(_:)

Invalid arguments were provided to an OCL operation.

E
OCLError.invalidOperation(_:)

An invalid operation was requested.

E
OCLError.typeError(_:)

A type error occurred during operation evaluation.

Instance Properties

V
description

A human-readable description of the error.

Default Implementations

Relationships

Conforms To