Automattic / Automattic/jetpack

DNA: update all references to Jetpack_Error to use Error package instead

Open
#14,981 1 comment 0 reactions 0 assignees View on GitHub
[Focus] Jetpack DNA [Type] Janitorial
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Follow-up from #12701.

Let's update all uses of `Jetpack_Error` to use the Error package instead.
Let's take that opportunity to deprecate `Jetpack_Error` just in case others outside of Jetpack rely on that class today.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing follow-up issue #12701, then search the repository for all uses of `Jetpack_Error` and its definition. The work is done when references use the Error package and `Jetpack_Error` is deprecated for external users that may still rely on it.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.