/pkg/src/tests/api/ |
H A D | t_pkg_api_fix.py | 32 import pkg.client.api_errors as api_errors namespace 61 self.assertRaises(api_errors.PlanCreationException, 66 self.assertRaises(api_errors.PlanCreationException,
|
H A D | t_pkg_api_hydrate.py | 32 import pkg.client.api_errors as api_errors namespace 77 self.assertRaises(api_errors.PlanCreationException, 84 self.assertRaises(api_errors.PlanCreationException,
|
H A D | t_api_info.py | 39 import pkg.client.api_errors as api_errors namespace 53 self.assertRaises(api_errors.NoPackagesInstalledException, 58 self.assertRaises(api_errors.UnrecognizedOptionsToInfo, 60 self.assertRaises(api_errors.UnrecognizedOptionsToInfo, 285 self.assertRaises(api_errors.UnrecognizedOptionsToInfo, 287 self.assertRaises(api_errors.UnrecognizedOptionsToInfo, 290 self.assertRaises(api_errors.UnrecognizedOptionsToInfo, 292 self.assertRaises(api_errors.UnrecognizedOptionsToInfo, 327 self.assertRaises(api_errors [all...] |
H A D | t_p5i.py | 35 import pkg.client.api_errors as api_errors namespace 186 self.assertRaises(api_errors.RetrievalError, 189 self.assertRaises(api_errors.RetrievalError, 200 self.assertRaises(api_errors.InvalidP5IFile, p5i.parse, 204 self.assertRaises(api_errors.InvalidP5IFile, p5i.parse,
|
H A D | t_publisher.py | 41 import pkg.client.api_errors as api_errors namespace 95 self.assertRaises(api_errors.BadRepositoryURI, setattr, uobj, 97 self.assertRaises(api_errors.UnsupportedRepositoryURI, setattr, 101 self.assertRaises(api_errors.BadRepositoryURI, setattr, uobj, 103 self.assertRaises(api_errors.BadRepositoryURIPriority, 105 self.assertRaises(api_errors.BadRepositoryAttributeValue, 107 self.assertRaises(api_errors.BadRepositoryAttributeValue, 121 self.assertRaises(api_errors.UnsupportedRepositoryURIAttribute, 123 self.assertRaises(api_errors [all...] |
H A D | t_api.py | 35 import pkg.client.api_errors as api_errors namespace 166 self.assertRaises(api_errors.PlanExistsException, 170 self.assertRaises(api_errors.PlanExistsException, 174 self.assertRaises(api_errors.PlanExistsException, 180 except api_errors.PlanExistsException: 188 self.assertRaises(api_errors.PrematureExecutionException, 194 self.assertRaises(api_errors.AlreadyPreparedException, 199 self.assertRaises(api_errors.AlreadyPreparedException, 201 self.assertRaises(api_errors [all...] |
H A D | t_action.py | 38 import pkg.client.api_errors as api_errors namespace 402 self.assertRaises(api_errors.UnsupportedSignatureVersion, 405 self.assertRaises(api_errors.UnsupportedSignatureVersion,
|
H A D | t_api_list.py | 41 import pkg.client.api_errors as api_errors namespace 1514 except api_errors.InventoryException as e:
|
H A D | t_manifest.py | 36 import pkg.client.api_errors as api_errors namespace 377 self.assertRaises(api_errors.InvalidPackageErrors, 380 self.assertRaises(api_errors.InvalidPackageErrors, 383 self.assertRaises(api_errors.InvalidPackageErrors, 386 self.assertRaises(api_errors.InvalidPackageErrors, 396 self.assertRaises(api_errors.BadManifestSignatures,
|
H A D | t_pkg_api_install.py | 36 import pkg.client.api_errors as api_errors namespace 285 self.assertRaises(api_errors.PlanExecutionError, 418 self.assertRaises(api_errors.PlanCreationException, 424 self.assertRaises(api_errors.PlanCreationException, 458 self.assertRaises(api_errors.PlanCreationException, 647 self.assertRaises(api_errors.IpkgOutOfDateException, 659 self.assertRaises(api_errors.IpkgOutOfDateException, 699 self.assertRaises(api_errors.IpkgOutOfDateException, 744 self.assertRaises(api_errors [all...] |
H A D | t_catalog.py | 44 import pkg.client.api_errors as api_errors namespace 476 self.assertRaises(api_errors.BadCatalogPermissions, 782 self.assertRaises(api_errors.UnknownCatalogEntry, 1150 self.assertRaises(api_errors.InvalidCatalogFile, 1158 self.assertRaises(api_errors.InvalidCatalogFile, 1178 self.assertRaises(api_errors.InvalidCatalogFile, 1201 self.assertRaises(api_errors.BadCatalogSignatures, c.validate, 1203 self.assertRaises(api_errors.BadCatalogSignatures, c.validate, 1226 self.assertRaises(api_errors [all...] |
/pkg/src/modules/ |
H A D | p5i.py | 34 import pkg.client.api_errors as api_errors namespace 63 raise api_errors.InvalidResourceLocation(location) 77 raise api_errors.RetrievalError(e, 86 raise api_errors.RetrievalError(e) 89 raise api_errors.InvalidP5IFile(e) 94 raise api_errors.InvalidP5IFile(_("missing version")) 96 raise api_errors.InvalidP5IFile(_("invalid version")) 99 raise api_errors.UnsupportedP5IFile() 140 except (api_errors [all...] |
H A D | p5s.py | 32 import pkg.client.api_errors as api_errors namespace 81 raise api_errors.InvalidP5SFile(e) 86 raise api_errors.InvalidP5SFile(_("missing version")) 88 raise api_errors.InvalidP5SFile(_("invalid version")) 91 raise api_errors.UnsupportedP5SFile() 155 except (api_errors.PublisherError, TypeError, ValueError) as e: 156 raise api_errors.InvalidP5SFile(str(e))
|
H A D | lockfile.py | 35 import pkg.client.api_errors as api_errors namespace 132 raise api_errors.UnexpectedLinkError(
|
/pkg/src/tests/cli/ |
H A D | t_lock.py | 33 import pkg.client.api_errors as api_errors namespace 115 self.assertRaises(api_errors.InvalidPlanError, api_obj2.prepare) 131 self.assertRaises(api_errors.InvalidPlanError, 166 self.assertRaises(api_errors.InvalidPlanError,
|
/pkg/src/modules/client/transport/ |
H A D | exception.py | 38 import pkg.client.api_errors as api_errors namespace 72 class TransportException(api_errors.TransportError):
|
H A D | engine.py | 46 import pkg.client.api_errors as api_errors namespace 280 ex_to_raise = api_errors.CanceledException 877 raise api_errors.PermissionsException( 880 raise api_errors.ReadOnlyFileSystemException( 923 raise api_errors.PermissionsException(
|
/pkg/src/modules/client/ |
H A D | query_parser.py | 27 import pkg.client.api_errors as api_errors namespace 156 raise api_errors.SlowSearchUsed() 280 api_errors.IncorrectIndexFileHash() 435 raise api_errors.InconsistentIndexException(e)
|
H A D | bootenv.py | 33 import pkg.client.api_errors as api_errors namespace 254 raise api_errors.UnableToCopyBE() 316 raise api_errors.InvalidBENameException(be_name) 322 raise api_errors.BENamingNotSupported(be_name) 329 raise api_errors.DuplicateBEName( 415 raise api_errors.BENamingNotSupported("") 424 raise api_errors.BENamingNotSupported("") 445 raise api_errors.UnableToCopyBE() 448 raise api_errors [all...] |
/pkg/src/modules/actions/ |
H A D | file.py | 44 import pkg.client.api_errors as api_errors namespace 50 from pkg.client.api_errors import ActionExecutionError 84 raise api_errors.FileInUseException(path) 89 raise api_errors.FileInUseException(path) 114 raise api_errors.PlanExecutionError(retrieved) 287 raise api_errors.FileInUseException(final_path)
|
/pkg/src/ |
H A D | pkgdep.py | 40 import pkg.client.api_errors as api_errors namespace 184 except api_errors.ApiException as e: 299 raise api_errors._convert_error(e) 314 except api_errors.ImageNotFoundException as e: 325 except api_errors.PermissionsException as e: 328 except api_errors.ImageFormatUpdateNeeded as e: 344 except api_errors.ApiException as e: 600 except api_errors.MissingFileArgumentException as e: 603 except api_errors [all...] |
H A D | sign.py | 48 import pkg.client.api_errors as api_errors namespace 121 raise api_errors.BadFileFormat(_("The file {0} was expected to " 283 raise api_errors.PackageMatchErrors( 335 except api_errors.AlmostIdentical as e: 344 raise api_errors.DuplicateSignaturesAlreadyExist(pfmri) 367 except (api_errors.ApiException, fmri.FmriError, 377 except api_errors.ApiException as e:
|
H A D | depot.py | 105 import pkg.client.api_errors as api_errors namespace 534 except api_errors.ApiException as _e: 849 except (api_errors.ApiException, sr.RepositoryError) as _e: 868 except api_errors.ApiException as _e: 886 api_errors.ApiException) as e: 896 api_errors.UnknownErrors, 897 api_errors.PermissionsException) as e: 908 api_errors.UnknownErrors, 909 api_errors [all...] |
/pkg/src/util/publish/ |
H A D | pkgsurf.py | 83 import pkg.client.api_errors as api_errors namespace 813 except (KeyboardInterrupt, api_errors.CanceledException): 817 api_errors.ApiException) as _e:
|
/pkg/src/modules/server/ |
H A D | api.py | 40 import pkg.server.api_errors as api_errors namespace 75 raise api_errors.VersionException(CURRENT_API_VERSION, 291 raise api_errors.UnrecognizedOptionsToInfo(bad_opts)
|