Runable v1.0.0-alpha.20
Why Runable? Docs Modules Work with AI Blog About Changelog
  • 01Why Runable?
  • 02Docs
  • 03Modules
  • 04Work with AI
  • 05Blog
  • 06About
  • 07Changelog
Vue without a fixed server runtime.
Getting Started Structure Integrations Guide MCP API
  • Getting Started Structure Integrations Guide MCP API
Components
  • RunablePage
  • RunableLink
  • RunableLayout
  • ClientOnly
Composables
  • useAsyncData
  • useFetch
  • useConfig
  • useRuntime
  • useApp
  • useAppError
  • useRouter
  • useRoute
  • navigateTo
  • onBeforeRouteUpdate
  • injectHead
  • useHead
  • useSeoMeta
  • useHeadSafe
  • useSchemaOrg
Globals
  • $fetch
  • definePageMeta
  • defineVueMiddleware
  • defineVuePlugin
  • Vue APIs

useAppError

Read, display, and clear errors captured by the Vue application.

const { error, showError, clearError } = useAppError();
PropertyTypePurpose
errorShallowRef<AppError | null>Active error
showError()(error, options?) => AppErrorNormalizes and displays an error
clearError()() => voidClears the active error
showError(new Error("Project not found"), {
  code: "PROJECT_NOT_FOUND",
  statusCode: 404,
  source: "manual",
});

Possible sources are vue, router, window, unhandled-rejection, and manual.

Report an issue Edit this page
useApp

Retrieve the current Vue application, its global properties, and Runable hooks.

useRouter

Access the Vue Router instance installed in the Runable application.

Runable

The Vue framework that brings productive conventions to any backend.

Product

  • Why Runable
  • Documentation
  • Installation
  • Integrations

Project

  • About
  • Blog
  • Changelog
  • Sponsor

Community

  • GitHub
  • Issues
  • Discussions
  • Bluesky

© 2026 Runable. Released under the MIT License.

Open source Built with Vue and Runable