Skip to content

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

NameTypeDefaultDescription
errorCodeTSTypeOperator | TSLiteralType404The error code.
descriptionstring '' A description of what possibly happened.
hideLogoutButtonbooleanfalseBy default, the logout button is visible unless content is provided to the `actions` slot or this prop is `true`.
onLogoutTSFunctionTypeundefinedA callback that will be called when the user clicks the logout button. If not provided, a `logout` event will be emitted.
stringundefinedA link to redirect the user to see if a hard refresh fixes the issue.
titlestring '' The error title.

Slots

NameDescription
actions

Events

None