dclDebug.DclError
Version 1.x
dclDebug.DclError
serves as a base class for all other exceptions thrown by
dcl
. It can be used to identify dcl
-produced errors.
Examples
1 2 3 4 5 6 7 8 9 |
|
Other exceptions are based on it:
- dclDebug.CycleError - thrown when there is an unresolvable cycle in list of declared bases
- dclDebug.ChainingError - thrown when composing a class with different chaining directives for the same method
- dclDebug.SetChainingError - thrown when setting a conflicting chaining
- dclDebug.SuperCallError - thrown when an argument of dcl.superCall() or dcl.around() decorators is not a function
- dclDebug.SuperError - thrown when the next-in-line property is not a function, and a super call cannot be made
- dclDebug.SuperResultError - thrown when an argument of dcl.superCall() or dcl.around() decorators does not return a function (likely the double function pattern was not followed — see dcl.superCall() for details)