Documentation Language: Swift

Enumeration

MTLExecutionError

Errors that can occur during MTL template execution.

enum MTLExecutionError

Overview

These errors represent runtime issues encountered while generating text from MTL templates, including missing templates, type mismatches, and file I/O problems.

Topics

Enumeration Cases

E
MTLExecutionError.fileError(_:)

A file I/O error occurred.

E
MTLExecutionError.guardFailed(_:)

A template guard condition failed.

E
MTLExecutionError.invalidOperation(_:)

An invalid operation was attempted.

E
MTLExecutionError.macroNotFound(_:)

The specified macro was not found in the module.

E
MTLExecutionError.moduleNotFound(_:)

The specified module was not found.

E
MTLExecutionError.postConditionFailed(_:)

A template post-condition failed.

E
MTLExecutionError.protectedAreaConflict(_:)

A protected area ID conflict was detected.

E
MTLExecutionError.queryNotFound(_:)

The specified query was not found in the module.

E
MTLExecutionError.templateNotFound(_:)

The specified template was not found in the module.

E
MTLExecutionError.typeError(_:)

A type error occurred during execution.

E
MTLExecutionError.variableNotFound(_:)

The specified variable was not found in the current scope.

Instance Properties

V
errorDescription

A human-readable description of the error.

Default Implementations

Relationships

Conforms To

See Also

Errors

E
MTLParseError

Errors that can occur during MTL parsing and serialization.