Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Related Pages: Field ValidationEmpty States

Table of Contents

Description

System errors are application and server errors which occur from a failure of communication between the client application and its server.

<< Most communicative screenshot of the component >>

Types 

There are many different types of system errors that can occur during the hosting and operation of modern web applications. These take the form of the list of HTTP status codes attached to every client\server request. With LUX, we have created specific designs and illustrations occur when the application encounters a problem, such as with authentication or server communication.

...

Types

This full list of HTTP status codes shows all of the potential server request response codes.

LUX has specific designs for the 5 most common types of these system errors (including one for a ‘catch all’ situation), plus an additional generic design for rarer instances.

401 Unauthorized -

Type

Usage

Illustration

‘Regular’ HTTP request flow

AJAX request flow with target container area

AJAX request flow without target container area

Icon

Full page request (HTTP)

Partial page request (AJAX)

401 Unauthorized

Bad, missing, or expired token, causing an authentication failure (e.g login has timed out).

N/A


Redirect to login page. Once login is completed, redirect back to originating page

- redirect

N/A - redirect

Redirect to

login

Login page.
Once login is

completed

complete, redirect back to originating page.

Redirect to

login

Login page.
Once login is

completed

complete, redirect back to originating page.

403 Forbidden

- Not authorizedImage RemovedRender the LUX template (masthead and navigation) but

The user does not have permission to access a resource (e.g an administrator-only page).

Errors_Access.gifImage Added

Door Closed.svgImage Added

image-20240709-102637.pngImage Added

Render the LUX frame, including the VerinTop.
Replace the full content area

should render

with the error message.

image-20240709-102801.pngImage Added

Render the

LUX template (masthead and navigation) but the container area should render

permitted areas of the interface.
Show the error message

User closable toast error message

within the container area.

404 Not Found

-

Page or resource not found

Image Removed

Do not render the LUX template (masthead and navigation) but the full page should render the error message

Render the LUX template (masthead and navigation) but the container area should render the error message

User closable toast error message

5XX Server Error - Server Infrastructure errors

Image Removed

Do not render the LUX template (masthead and navigation) but the full page should render the error message

Do not render the LUX template (masthead and navigation) but the full page should render the error message

Do not render the LUX template (masthead and navigation) but the full page should render the error message

Generic - Catch all

Image Removed

Do not render the LUX template (masthead and navigation) but the full page should render the error message

Render the LUX template (masthead and navigation) but the container area should render the error message

User closable toast error message

Usage & Behavior

General guidelines

...

. Use when a URL or API is called that the server finds no page or resource for.

Errors_404.gifImage Added

N/A

image-20240723-140936.pngImage Added

The full page should be replaced by the error message. Do not render the LUX frame.

image-20240709-104045.pngImage Added

Render the LUX frame, including the VerinTop.
Show the error message within the container area.

429 Too Many Requests

Resource is unavailable at that time because there is a load on the network or service.

Errors_HighDemand.gifImage Added

Empty High Demand.svgImage Added

image-20240724-165345.pngImage Added

The full page should be replaced by the error message.
Do not render the LUX frame.

image-20240724-165407.pngImage Added

Render the permitted areas of the interface.
Show the error message within the container area.

503 - Service unavailable

Service is not responsive or denies access.

Errors_ServiceDown.gifImage Added

Empty Service Down.svgImage Addedimage-20240724-165140.pngImage Added

The full page should be replaced by the error message.
Do not render the LUX frame.

image-20240724-165224.pngImage Added

Render the permitted areas of the interface.
Show the error message within the container area.

5XX Server Error

Server infrastructure errors. Use when the server is unable to respond for various reasons.

Errors_server.gifImage Added

Power Plug.svgImage Addedimage-20240723-140158.pngImage Added

The full page should be replaced by the error message.
Do not render the LUX frame.

image-20240723-140235.pngImage Added

The full page should be replaced by the error message.
Do not render the LUX frame.

Generic

Catch all. Use when none of the system errors above are suitable.

Errors_Pipes.gifImage AddedLeaking Pipe.svgImage Addedimage-20240709-141912.pngImage Added

The full page should be replaced by the error message.
Do not render the LUX frame.

image-20240709-142014.pngImage Added

Render the LUX frame, including the VerinTop.
Show the error message within the container area.

Usage & Behavior

General Guidelines

Structure

A system error generally consists of:

  • A an illustration which visualises and contextualises the error.

  • a title which describes the high level basic nature of the error. This may also contain the error code.

  • A description paragraph that summaries (in a little more detail) the reason(s) why the application entered the error state.

  • An illustration that attempts to visualize and contextualize error.

Examples:

Placement and Positioning

<<Where should the component be located on the screen. See example: Pagination placement and positioning>>

Default State

<<When there is more than one state for control or area. Including default values> see example: Numeric stepper default state >>

Content

<<Including labels, microcopy, number of items, order of items etc… See example: Buttons content >>

Interaction

<<for example, how to change value – type, arrows, use slider. See example: Numeric stepper interaction>>

Best practices

<Whenever a recommendation (not a must) is provided>>

Use:

  • <…>

  • <…>

Don’t use

  • <…>

  • <…>

General

  • <…>

  • a description that provides more detail on why the error has occurred.

  • action options such as Back or Retry, to help the user recover from the error state. (Optional).

Example:

...

Placement and Positioning

  • The system error is centered vertically and horizontally on the full page or container area.

Interaction

System errors are mostly non-interactive, with the exception of action options such as Back, where shown.

When a system error is embedded in a container area, the rest of the application should remain interactive.

Best practices

Don’t use:

General

  • Minimise the potential for system errors.

    • Do not show links or options which the user does not have authorisation for.

    • When a resource expires or is deleted, the original URL should redirect to its replacement or a new resource, where possible.

Accessibility Compliance

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

Download

View file
nameError States.zip

Design

Zeplin link

Screen thumbnail

<<Short Zeplin link. You
Use this
Image Removed>>

<<Screen with 200 width>>

Code

...

Code

...