class documentation

class CommandError(Exception):

Known subclasses: django.core.management.base.SystemCheckError

View In Hierarchy

Exception class indicating a problem while executing a management command.

If this exception is raised during the execution of a management command, it will be caught and turned into a nicely-printed error message to the appropriate output stream (i.e., stderr); as a result, raising this exception (with a sensible description of the error) is the preferred way to indicate that something has gone wrong in the execution of a command.

Method __init__ Undocumented
Instance Variable returncode Undocumented
def __init__(self, *args, returncode=1, **kwargs):

Undocumented

returncode =

Undocumented