Package conary :: Module errors
[hide private]
[frames] | no frames]

Module errors

source code

Basic error types for all things conary.

The base of the conary error hierarchy is defined here. Other errors hook into these base error classes, but are defined in places closer to where they are used.

The cvc error hierarchy is defined in the cvc build dir.

Classes [hide private]
  InternalConaryError
Base class for conary errors that should never make it to the user.
  ConaryError
Base class for all exposed conary errors
  CvcError
Base class for errors that are cvc-specific.
  ParseError
Base class for errors parsing input
  VersionStringError
Base class for other version string specific error
  DatabaseError
Base class for errors communicating with the local database.
  ClientError
Base class for errors in the conaryclient library.
  RepositoryError
Base class for errors communicating to the repository, though not necessarily with the returned values.
  WebError
Base class for errors with the web client
  FilesystemError
Base class for errors that are filesystem-specific
  TroveNotFound
No trove was found or the match parameters were incorrectly specified.
  LatestRequired
Returned from findTrove when flavor filtering results in an old trove
  LabelPathNeeded
Returned from findTrove when a label path is required but wasn't given
  DatabasePathConflicts
Occurs when multiple paths conflict inside of a job.
  DatabaseLockedError
Occurs when the local database is locked
  ShadowRedirect
User attempted to create a shadow (or branch, but branches aren't really supported anymore) or a redirect
  MissingTrovesError
  InvalidRegex
User attempted to input an invalid regular expression
  ReexecRequired
Conary needs to reexec itself with the same command again.
  DecodingError
An error occurred while loading the frozen representation of a data structure
  CancelOperationException
Inherit from this class and throw exceptions of this type if you want a callback to stop an update at the end of the job
Functions [hide private]
 
exceptionIsUncatchable(e) source code
Variables [hide private]
  UncatchableExceptionClasses = (<class exceptions.SystemExit at...
Variables Details [hide private]

UncatchableExceptionClasses

Value:
SystemExit, KeyboardInterrupt