KinoPhoenixLiveView.ErrorView (kino_phoenix_live_view v0.1.2)

A minimal error view module for rendering error messages.

This view simply converts a given error template to a human-readable status message using Phoenix's built-in functions.

Summary

Functions

Renders an error message based on the template.

Functions

render(template, _)

Renders an error message based on the template.

Parameters

  • template: The error template identifier (e.g., "404.html").
  • _: Unused assigns.

Returns

  • A string message corresponding to the HTTP status.