HttpError API
API reference docs for the Stash HttpError
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import HttpError from '@leaflink/stash/HttpError.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
errorCode | TSTypeOperator | TSLiteralType | 404 | The error code. |
description | string | '' | A description of what possibly happened. |
hideLogoutButton | boolean | false | By default, the logout button is visible unless content is provided to the `actions` slot or this prop is `true`. |
onLogout | TSFunctionType | undefined | A callback that will be called when the user clicks the logout button. If not provided, a `logout` event will be emitted. |
retryLink | string | undefined | A link to redirect the user to see if a hard refresh fixes the issue. |
title | string | '' | The error title. |
Slots
Name | Description |
---|---|
actions |
Events
None