forked from Mirror/pmbootstrap
pmb.helpers.exceptions: Add BuildFailedError (MR 2288)
This commit is contained in:
parent
ae75f3b884
commit
ac68535870
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,13 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
||||
class BuildFailedError(Exception):
|
||||
"""Exception to be raised when pmbootstrap fails to build a package. This is handled
|
||||
separately from NonBugError as it needs to be treated differently as we want to hint
|
||||
to users that they can check the log for more information when a build fails."""
|
||||
pass
|
||||
|
||||
|
||||
class NonBugError(Exception):
|
||||
"""Exception which originates from a problem not caused by pmbootstrap's code. This
|
||||
could for example be raised if there is an error in a package pmboostrap is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue