Error Alert
This component shows an error alert to the user.
Property | Value |
---|---|
Interactivity | Non-required |
Screenshot
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
Attribute | Description | Required | Default value |
---|---|---|---|
message | The error message | Yes | |
next | A list of next steps that the person can take | No | [] |