Skip to main content
Starter Kit - Ships with your template. You own it - modify freely.

Overview

Conductor includes four beautifully designed error pages out of the box. Each page features:
  • Modern, responsive design with gradient backgrounds
  • Clear error messaging with status codes
  • Actionable buttons (Home, Back, Sign In, Try Again)
  • SEO-friendly meta tags (noindex, nofollow)
  • Support for custom messages and dynamic content
  • Consistent styling with smooth animations
All error pages are built using the html operation with Liquid templates and embedded CSS, making them easy to customize without external dependencies.

Available Error Pages

401 - Unauthorized

Route: /errors/401 Displayed when authentication is required. Features a lock icon and amber gradient. Custom Parameters:
  • message - Override default message
Example Usage:
Actions:
  • Sign In button (redirects to /login)
  • Go Home button (redirects to /)

403 - Forbidden

Route: /errors/403 Displayed when access is denied due to insufficient permissions. Features red gradient. Custom Parameters:
  • message - Override default message
  • contactEmail - Display support contact information
Example Usage:
Actions:
  • Go Home button
  • Log In button (redirects to /login)
  • Optional support email link

404 - Not Found

Route: /errors/404 Displayed when a page or resource doesn’t exist. Features purple gradient. Custom Parameters:
  • message - Override default message
  • searchEnabled - Show search form (boolean)
  • helpfulLinks - Array of helpful navigation links
Default Helpful Links:
Example Usage:
Actions:
  • Go Home button
  • Go Back button (browser history)
  • Optional search form (when searchEnabled=true)
  • Customizable helpful links list

500 - Internal Server Error

Route: /errors/500 Displayed when server errors occur. Features pink-to-blue gradient. Custom Parameters:
  • message - Override default message
  • errorId - Unique error identifier for support tracking
  • errorStack - Stack trace (only shown when dev=true)
  • dev - Enable development mode to show error details
  • supportEmail - Display support contact
Example Usage:
Actions:
  • Go Home button
  • Try Again button (reloads page)
  • Error ID display (for support reference)
  • Optional error details panel (dev mode only)
  • Optional support email link

Customization

Changing Styles

Error pages use inline CSS for zero dependencies. To customize the look:
  1. Locate the error page YAML:
  1. Edit the styles section in the agent config:
  1. Deploy changes:
Enable search on the 404 page by passing searchEnabled=true:
Customize search endpoint:
Pass custom links to the 404 page:
Add your logo to any error page:
Add corresponding CSS:

Integration

How Errors Are Triggered

Error pages are automatically displayed in several scenarios:

1. Ensemble Output Redirects

Redirect to an error page based on conditions:

2. Conditional HTTP Responses

Return error page content directly:

3. Agent Failure Handling

Handle agent failures gracefully:

4. Custom Error Handling in Code Operations

Trigger errors from TypeScript handlers:

Error Tracking

Log errors before redirecting for monitoring:

Full 404 Page Reference

Here’s the complete YAML for the 404 error page:

Health Check

Monitor application health and status

Starter Kit Overview

Explore all starter kit features

HTML Operation

Learn about HTML rendering with Liquid templates

Flow Control

Master conditional logic and error handling