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
readonly
advice: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
readonly
aspect:object
The aspect that caused the error
Defined in
packages/core/src/errors/advice.error.ts:15
target
readonly
target:AnnotationTarget
The target on which the advice was applied
Defined in
packages/core/src/errors/advice.error.ts:23