mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
See: https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2324 Closes: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2278
18 lines
643 B
Python
18 lines
643 B
Python
# Copyright 2024 Stefan "Newbyte" Hansson
|
|
# 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
|
|
interacting with in some way."""
|
|
|
|
pass
|