way for plugins to present non InternalError from hpss

Bug #374605 reported by Robert Collins on 2009-05-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

We need a way for a plugin to raise an exception inside a smart server, which is a BzrError [not BzrInternalError] and have that nicely formatted for the user.

There is errors.TipChangeRejected for pre_tip_change, but plugins are not neatly isolated to one bit of the code base.

Perhaps a flag saying 'stringify me and leave it alone', or maybe we should use 'BzrCommandError'.

Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Jelmer Vernooij (jelmer) on 2017-11-08
tags: added: check-for-breezy
Jelmer Vernooij (jelmer) on 2017-11-11
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers