Skip to content

odanado/vue-reactive-error-handler

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vue-reactive-error-handler

npm version GitHub Actions

You can reactively handle errors raised by Vue.config.errorHandler.

Install

$ yarn add vue-reactive-error-handler

Usage

import { ReactiveErrorHandler } from "vue-reactive-error-handler";

Vue.use(ReactiveErrorHandler);
<template>
  <div>
    error: <span v-if="$error.value">{{ $error.value.message }}</span>
  </div>
</template>

Example

See example directory.