{"id":15532728,"url":"https://github.com/hypery2k/angular-errorhandler","last_synced_at":"2026-01-07T20:04:36.506Z","repository":{"id":58215044,"uuid":"39494769","full_name":"hypery2k/angular-errorhandler","owner":"hypery2k","description":"DEPRECATED, use","archived":false,"fork":false,"pushed_at":"2023-12-15T17:34:02.000Z","size":35,"stargazers_count":0,"open_issues_count":22,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-16T23:01:24.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/hypery2k/angular-invocation-handler","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hypery2k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-22T08:31:09.000Z","updated_at":"2024-05-30T07:54:44.841Z","dependencies_parsed_at":"2023-12-15T18:45:06.917Z","dependency_job_id":null,"html_url":"https://github.com/hypery2k/angular-errorhandler","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"e2d4b9112490f4afa10dc6e135f2971507ddf85a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypery2k%2Fangular-errorhandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypery2k%2Fangular-errorhandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypery2k%2Fangular-errorhandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypery2k%2Fangular-errorhandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypery2k","download_url":"https://codeload.github.com/hypery2k/angular-errorhandler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246108226,"owners_count":20724690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T11:32:40.957Z","updated_at":"2026-01-07T20:04:36.435Z","avatar_url":"https://github.com/hypery2k.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-errorhandler\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/hypery2k/angular-errorhandler.svg)](https://greenkeeper.io/)\n\n\n\u003e A module for collecting errors, stack traces and other information globally from within your Angular app\n\u003e e.g. for saving to a remote service or for displaying\n\n[![Build Status](https://travis-ci.org/hypery2k/angular-errorhandler.svg?branch=master)](https://travis-ci.org/hypery2k/angular-errorhandler)\n![Bower version](https://badge.fury.io/hypery2k/angular-errorhandler.svg)\n[![ NPM devDependency Status](https://david-dm.org/hypery2k/angular-errorhandler/dev-status.svg)](https://david-dm.org/hypery2k/angular-errorhandler#info=devDependencies)\n\n##### Reasons to use\nIt's anyoing to handle all errors in controller and service and also very defective.\nSo instead of surfacing the log it would be cool to manage them at a central place and maybe store them via on a backend service\n\n##### Usage\n\nInstall this module:\n\n```\nbower install angular-errorhandler --save\n```\n\nAdd the dependencies\n```\n/*global app: true*/\nvar app = angular.module('resourcesApp', [\n...\n    'ngErrorHandler.core',\n    'ngErrorHandler.ui' // optional\n]);\n```\n\nIf you like to display the error message within your app, also include the ui module.\n\nConfigure the service to be handled:\n\n```\napp.config(function ($provide, errorHandlerServiceProvider, errorHandlerConfig) {\n    'use strict';\n\n    // enable UI feedback attach\n    errorHandlerConfig.feedbackAttach = true;\n    errorHandlerConfig.customErrorHandler = 'errorHandlingService';\n    // decorate the mentioned [services] with automatic error handling.\n    errorHandlerServiceProvider.decorate($provide, ['eventService']);\n});\n\n```\n\n### About\n\nThis module instruments Angular's `interceptors` to invoke a configurable set for the error handling.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypery2k%2Fangular-errorhandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypery2k%2Fangular-errorhandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypery2k%2Fangular-errorhandler/lists"}