Class: AdviceError
Less than 1 minute
AspectJS • Docs
Class: AdviceError
Error thrown when an advice has an unexpected behavior (eg: returns a value that is not permitted)
Extends
AspectError
Properties
advice
readonlyadvice:CompileAdvice<any,any> |BeforeAdvice<any,any> |AroundAdvice<any,any> |AfterReturnAdvice<any,any> |AfterThrowAdvice<any,any> |AfterAdvice<any,any>
The advice that caused the error
Defined in
packages/core/src/errors/advice.error.ts:19
aspect
readonlyaspect:object
The aspect that caused the error
Defined in
packages/core/src/errors/advice.error.ts:15
target
readonlytarget:AnnotationTarget
The target on which the advice was applied
Defined in
packages/core/src/errors/advice.error.ts:23
