Documentation Language: Swift

Enumeration

MTLParseError

Errors that can occur during MTL parsing and serialization.

enum MTLParseError

Overview

These errors represent issues encountered while parsing MTL source files, XMI documents, or serializing MTL modules.

Topics

Enumeration Cases

E
MTLParseError.invalidSyntax(_:)

Invalid MTL syntax was encountered.

E
MTLParseError.malformedExpression(_:)

A malformed expression was encountered.

E
MTLParseError.malformedXMI(_:)

A malformed XMI structure was encountered.

E
MTLParseError.missingAttribute(attribute:element:)

A required attribute was missing from an XMI element.

E
MTLParseError.unknownStatementType(_:)

An unknown statement type was encountered during parsing.

Instance Properties

V
errorDescription

A human-readable description of the error.

Default Implementations

Relationships

Conforms To

See Also

Errors

E
MTLExecutionError

Errors that can occur during MTL template execution.