Errors
Exceptions used in the Waf code
-
exception waflib.Errors.WafError(msg='', ex=None)[source]
Bases: exceptions.Exception
Base class for all Waf errors
-
__init__(msg='', ex=None)[source]
Parameters: |
- msg (string) – error message
- ex (exception) – exception causing this error (optional)
|
-
exception waflib.Errors.BuildError(error_tasks=[])[source]
Bases: waflib.Errors.WafError
Errors raised during the build and install phases
-
__init__(error_tasks=[])[source]
Parameters: | error_tasks (list of task objects) – tasks that could not complete normally |
-
format_error()[source]
format the error messages from the tasks that failed
-
exception waflib.Errors.ConfigurationError(msg='', ex=None)[source]
Bases: waflib.Errors.WafError
Configuration exception raised in particular by waflib.Context.Context.fatal()
-
exception waflib.Errors.TaskRescan(msg='', ex=None)[source]
Bases: waflib.Errors.WafError
task-specific exception type, trigger a signature recomputation
-
exception waflib.Errors.TaskNotReady(msg='', ex=None)[source]
Bases: waflib.Errors.WafError
task-specific exception type, raised when the task signature cannot be computed