way for plugins to present non InternalError from hpss

Bug #374605 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

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'.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.