Package entropy :: Module exceptions

Module exceptions

source code

# DESCRIPTION: # Entropy exceptions class

Copyright (C) 2007-2009 Fabio Erculiani

structure inspired from portage_exception.py Copyright 1998-2004 Gentoo Foundation # $Id: portage_exception.py 6885 2007-06-20 05:45:31Z zmedico $

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Classes
  EntropyException
General superclass for Entropy exceptions
  CorruptionError
Corruption indication
  CacheCorruptionError
On-Disk cache Corruption indication
  InvalidDependString
An invalid depend string has been encountered
  InvalidVersionString
An invalid version string has been encountered
  SecurityViolation
An incorrect formatting was passed instead of the expected one
  IncorrectParameter
A parameter of the wrong type was passed
  MissingParameter
A parameter is required for the action requested but was not passed
  ParseError
An error was generated while attempting to parse the request
  InvalidData
An incorrect formatting was passed instead of the expected one
  InvalidDataType
An incorrect type was passed instead of the expected one
  RepositoryError
Cannot open repository database
  ConnectionError
Cannot connect to service
  InterruptError
Raised to interrupt a thread or process
  FtpError
FTP errors
  SystemDatabaseError
Cannot open system database
  SPMError
Source Package Manager generic errors
  OnlineMirrorError
Mirror issue
  QueueError
Action queue issue
  InvalidLocation
Data was not found when it was expected to exist or was specified incorrectly
  InvalidAtom
Atom not properly formatted
  InvalidPackageSet
Package set does not exist
  FileNotFound
A file was not found when it was expected to exist
  DirectoryNotFound
A directory was not found when it was expected to exist
  OperationNotPermitted
An operation was not permitted operating system
  PermissionDenied
Permission denied
  ReadOnlyFileSystem
Read-only file system
  CommandNotFound
A required binary was not available or executable
  LibraryNotFound
A required library was not available or executable
  SSLError
SSL support is not available
  EntropyPackageException
Malformed or missing package data