Skip to content

Error Alert

This component shows an error alert to the user.

PropertyValue
InteractivityNon-required

Screenshot

A screenshot with the error alert

API

Example

swift
Noora().error("The project generation failed.")

// With next steps
Noora().error(.alert("The project generation failed.", nextSteps: [
    "Make sure the project manifest files are valid and compile.",
    "Ensure you are running the latest Tuist version.",
]))

Options

AttributeDescriptionRequiredDefault value
messageThe error messageYes
nextA list of next steps that the person can takeNo[]

Released under the MIT License.