OudsError

class OudsError

Represents an error for OUDS components.

This class supports both plain and annotated error messages.

Constructors

Link copied to clipboard
constructor(message: String)

Creates an error with a plain text message.

constructor(annotatedMessage: OudsAnnotatedErrorMessage)

Creates an error with an annotated message.

Properties

Link copied to clipboard

The annotated error message, or null if the error was created with plain text.

Link copied to clipboard

The plain text representation of the error message.