Error message guidelines#

Developers often ask an Information Developer to edit error messages that they have written.

When you edit error messages, use the writing guidelines in this Style Guide as you would with other documentation that is curated by the Information Development team. Start with the information in the Quickstart.

This topic provides additional guidelines specific to reviewing messages for Rackspace development teams.

This information is also available in the Helix documentation.

General guidelines#

When you review error messages, consider the following guidelines for them:

  • Be courteous and do not blame the user.

  • Use present tense to describe conditions that currently exist, or use past tense to describe a specific event that occurred in the past.

  • Where possible, guide users with the imperative voice (for example, “Enter a valid email.”) or the active voice (such as “The Control Panel is not responding.”).

  • Error messages must be short, accurate, complete, and helpful.

Message guidelines and examples#

Use the following guidelines when you review messages written for a control panel.

Guideline

Use

Don’t use

Use monospace font.

When you right-click a SQL Server 2012 database and select Properties, the following error message appears:

The user doesn't have permission to perform this action.

When you right-click a SQL Server 2012 database and select Properties, the following error message appears:

The user doesn’t have permission to perform this action.

Use complete sentences, when possible.

Include articles (a, an, the) to make the sentence complete. If possible, use active voice.

The authentication token isn’t valid.

Invalid authentication token.

Use more than one sentence if required for clarity.

Write brief and simple sentences that clearly state the problem. Separate the sentences with a period (or question mark, if applicable), but not with a semicolon.

Provide a name for each domain. null isn’t a valid domain name.

You must provide a name for each domain and null isn’t a valid name.

Use proper punctuation. For guidelines, see Punctuation.

FED2-013: Token expiration cannot exceed seconds.

FED2-013; Token expiration cannot exceed seconds.

Avoid using only uppercase letters.

Lines with excessive capitalization are hard to read. Use all uppercase letters only for words that require it, such as a keyword, a data type, or a specific table name that’s displayed in all uppercase letters to a database user. For more information, see Capitalization.

The requested image $UUID has automatic disk resizing disabled.

THE REQUESTED IMAGE $UUID HAS AUTOMATIC DISK RESIZING DISABLED.

When possible, include a recommendation, either a potential fix or a reference to a document for more information.

Messages should provide specific information about how the user should continue.

The system is out of virtual IP addresses. Contact Support so they can allocate more virtual IP addresses.

The value -1.0 can’t be accepted. Specify a positive integer value for the volume size.

The system is out of virtual IP addresses.

The value -1.0 can’t be accepted.

Be specific and provide as much detailed information as possible.

The live migration of instance 89a5e582-d3f3-4665-ate2-03c2114f0bib to host compute2 failed.

Live migration failed.

To represent an unspecified or generic number, use n as the variable and apply italics.

To represent an unspecified or unknown version number, use x for each digit and apply italics.

Using n and x consistently reduces the confusion users might experience with these conventions.

The rate limit has been reached (n requests in 24 hours). Try again later.

This option is available only for Ubuntu 12.*x*.

Avoid blaming the user.

Rewrite messages that imply fault on the part of the user. Use passive voice when necessary.

The request couldn’t be understood by the server because of malformed syntax.

You entered bad request syntax.

Use positive statements.

Positive statements are easier to understand than negative statements.

The given limit must be less than 50.

The given limit can’t be greater than 50.

Message types#

The following table includes the most common types of error messages:

Type

Guidelines

Example

Error

Use error messages to inform the user that a problem in the system or application occurred. The user or system cannot continue the task until the problem is resolved.

The file could not be found.

Warning

Use warning messages to alert users about a condition that might cause problems in the future. The user can generally continue with their tasks, but those tasks might not be completed in a way that is expected.

The service could not open all documents. Some documents were skipped.

Information

Use information messages to provide information about normal conditions and operations.

Updates are being processed.

Confirmation

Use confirmation messages to ask the user to verify an action that the user or the system initiated. Use a confirmation prompt to ask the user for additional information to complete a step or to ask whether to save information for future use.

Do you want to close this document without saving your changes?

Success

Use success messages to tell the user that an action successfully completed.

Server successfully deleted.