Errors¶
Exceptions used in the Waf code
- exception waflib.Errors.WafError(msg='', ex=None)[source]¶
Base class for all Waf errors
- __init__(msg='', ex=None)[source]¶
- Parameters:
msg (string) – error message
ex (exception) – exception causing this error (optional)
- __firstlineno__ = 11¶
- __static_attributes__ = ('msg', 'stack', 'verbose_msg')¶
- exception waflib.Errors.BuildError(error_tasks=[])[source]¶
Error raised during the build and install phases
- __init__(error_tasks=[])[source]¶
- Parameters:
error_tasks (list of task objects) – tasks that could not complete normally
- __annotations__ = {}¶
- __firstlineno__ = 38¶
- __static_attributes__ = ('tasks',)¶
- exception waflib.Errors.ConfigurationError(msg='', ex=None)[source]¶
Configuration exception raised in particular by
waflib.Context.Context.fatal()
- __annotations__ = {}¶
- __firstlineno__ = 57¶
- __static_attributes__ = ()¶