yabserrors
index
/home/jules/yabs/yabserrors.py

Error classes used by Yabs.

 
Modules
       
inspect
os
signal
sys
time
traceback

 
Classes
       
exceptions.Exception
error
bad_prerequisites
command_error
commandfn_error
file_command_error
file_command_mtime_error
no_rule_error
rulefn_error

 
class bad_prerequisites(error)
    Raised when a rule doesn't return valid prerequisites or semi-
prerequisites.
 
 
Method resolution order:
bad_prerequisites
error
exceptions.Exception

Methods defined here:
__init__(self, prerequisite)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class command_error(error)
    Thrown by yabs.command_* functions
 
 
Method resolution order:
command_error
error
exceptions.Exception

Methods defined here:
__init__(self, command, ret, text)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class commandfn_error(error)
    Thrown by yabs.command_* functions
 
 
Method resolution order:
commandfn_error
error
exceptions.Exception

Methods defined here:
__init__(self, commandfn, text=None, exc_info=None)
uses sys.exc_info() if exc_info is None.
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class error(exceptions.Exception)
    Base type for all Yabs errors
 
  Methods defined here:
__init__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)

 
class file_command_error(error)
    Raised when a command fails to create the target.
 
 
Method resolution order:
file_command_error
error
exceptions.Exception

Methods defined here:
__init__(self, filename, command)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class file_command_mtime_error(error)
    Raised when a command makes a target older than previously.
 
 
Method resolution order:
file_command_mtime_error
error
exceptions.Exception

Methods defined here:
__init__(self, filename, command, original_mtime, new_mtime)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class no_rule_error(error)
    Raised when no command can be found to make a target.
 
 
Method resolution order:
no_rule_error
error
exceptions.Exception

Methods defined here:
__init__(self, filename)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class rulefn_error(error)
    Errors raised by rule functions
 
 
Method resolution order:
rulefn_error
error
exceptions.Exception

Methods defined here:
__init__(self, commandfn, text=None, exc_info=None)
uses sys.exc_info() if exc_info is None.
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
Functions
       
exit_description(e)
signal_name(s)