Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Banner ¶
Banner renders a dismissible error banner with its Details section, or nothing for an empty failure.
Parameters:
- failure: The message and its details.
func Details ¶ added in v0.4.0
Details renders an error's technical details in a collapsed section.
The details show as selectable text with a copy button, and nothing renders when there are none. The text stays selectable by hand where the browser offers no clipboard, such as a page opened over plain HTTP on a LAN address.
Parameters:
- details: The technical report.
func DetailsSlot ¶ added in v0.4.0
DetailsSlot renders an empty, hidden Details section that a script fills in when a failure it polls for arrives, such as a failed preview.
Parameters:
- id: The section's id, which the script looks it up by.
func OutOfBand ¶ added in v0.3.1
OutOfBand renders the banner as an out-of-band swap of the flash slot.
Parameters:
- failure: The message and its details.
Types ¶
This section is empty.