classResolutionException
final class ResolutionException
extends RuntimeException
Public API: explicitly declared with
@visibility public.Parsed source contains invalid names, lexical scope, or expression constraints.
(new \Deriver\Exception\ResolutionException('Duplicate alias', 'app.php', 3))->path // => 'app.php'Properties§
public string $pathpublic int $sourceLine = 1Methods§
public function __construct(
string $message,
public string $path,
public int $sourceLine = 1,
Throwable|null $previous = null,
)Parameters
$message | string | Resolution diagnostic |
$path | string | Source containing the invalid construct |
$sourceLine | int | One-based source line |
$previous | Throwable|null | Original diagnostic |
Calls 1
- static-call
RuntimeException::__construct()line 26
Test cases 180§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 179
ResultRefTestcallsSnapshotTestcallsStatisticsTestcallsDeriverConfigTestcallsArrayFunctionsTestcallsFunctionEvaluatorTestcallsLibraryTestcallsScalarFunctionsTestcallsTypePredicatesTestcallsCallDecisionTestcallsCallDescriptionTestcallsCallDescriptorTestcallsEvaluatorsTestcallsActionTestcallsExpressionTestcallsPlanCompilerTestcallsSemanticPlanTestcallsParameterTestcallsSignatureTestcallsLatticeTestcallsFrontierTestcallsAllocationTestcallsArgumentBindingTestcallsArgumentOrderTestcallsCallableCheckTestcallsCallExecutorTestcallsCallResolutionTestcallsBindingTestcallsCaptureTestcallsEffectsTestcallsExternalBodyTestcallsNativeArgumentsTestcallsAccessTestcallsConstantsTestcallsInvocationTestcallsMethodInvocationTestcallsInvocationTestcallsPropertiesTestcallsSignaturesTestcallsParameterBindingTestcallsPassedArgumentTestcallsArgumentsTestcallsCreationTestcallsEntryPropertiesTestcallsMethodsTestcallsModesTestcallsResolutionTestcallsTransferTestcallsUnpackTestcallsProviderDispatchTestcallsTypeBindingTestcallsTypeCheckTestcallsUnknownCallTestcallsAlternativeTestcallsAssessmentTestcallsCompletionTestcallsExceptionalTestcallsClassNamesTestcallsConstraintsTestcallsContextTestcallsCollectionCallsTestcallsExceptionChainTestcallsExceptionMatchTestcallsHandlerTestcallsIterationStepTestcallsIteratorCursorTestcallsLoopConvergenceTestcallsObservationLimitTestcallsPathJoinTestcallsResidualPathsTestcallsStateJoinTestcallsUnwindingTestcallsCellTestcallsComponentsTestcallsDiscoveryTestcallsTableTestcallsDependenciesTestcallsEvaluatorTestcallsHavocTestcallsInstructionTransferTestcallsLocationTestcallsMemoryTestcallsSlotReferenceTestcallsStateStorageTestcallsObservationCollectorTestcallsPathTestcallsProtocolTestcallsReaderTestcallsStringsTestcallsTransferTestcallsCallablePredicateTestcallsConversionsTestcallsCountableCallsTestcallsScalarErrorsTestcallsStateTestcallsEvaluationTestcallsInvocationTestcallsIsolationTestcallsDerivationTestcallsExplanationTestcallsCallableTransferTestcallsCompoundAssignmentTestcallsConstantTransferTestcallsExternalTransferTestcallsIntrinsicTransferTestcallsMemoryStepTestcallsObjectAccessTestcallsPropertyAccessCheckTestcallsPropertyLookupTestcallsPropertyMagicTestcallsPropertyReferenceTestcallsPropertyTransferTestcallsPureStepTestcallsReferenceAssignmentTestcallsProjectionTestcallsBudgetTestcallsEntryPointTestcallsObservationTestcallsQueryScopeTestcallsReturnQueryTestcallsStateQueryTestcallsTupleQueryTestcallsValueQueryTestcallsArithmeticTestcallsArraysTestcallsComparisonTestcallsOperationsTestcallsTargetProfileTestcallsTermTestcallsDerivationResultTestcallsQueryExecutionTestcallsResultAssessmentTestcallsValueGraphTestcallsAggregateLoweringTestcallsAssignmentLoweringTestcallsCallLoweringTestcallsConditionalLoweringTestcallsDestructuringLoweringTestcallsExceptionLoweringTestcallsGotoLoweringTestcallsLoopLoweringTestcallsMatchLoweringTestcallsStaticLoweringTestcallsSwitchLoweringTestcallsCallableSourceTestcallsCallSiteIndexTestcallsConstantSignaturesTestcallsIndexerTestcallsIndexTestcallsClassDeclarationTestcallsPropertyDeclarationTestcallsSymbolRefTestcallsCompositionTestcallsMembersTestcallsPropertyScopeTestcallsEffectInspectionTestcallsExpressionLoweringTestcallsArgumentTestcallsBasicBlockTestcallsCallableGraphTestcallsCatchTargetTestcallsExceptionRegionTestcallsExpressionRefTestcallsInstructionTestcallsParameterTestcallsPointRefTestcallsTerminatorTestcallsAccessTestcallsDispatchTestcallsInstructionEmitterTestcallsLowererTestcallsLoweringScopeTestcallsStatementLoweringTestcallsAssignmentPatternsTest::testEnterNodeRejectsPatternsBeforeExecutingAnyCallablecallsClassScopeTest::testEnterNodeRejectsUndefinedLexicalClassReferencescallsResolverTest::testResolveReportsSemanticErrorsWithTheirSourceLocationcallsCallObservationsTestcallsQueryValidationTestcallsDeriverTest::testPrepareReportsResolutionFailuresSeparatelyFromSyntaxErrorscalls