KnowledgeAdoptionException class final
Applying failed at a step and undid the steps before it, so the project
holds no partial bundle unless steps reports one undo-failed. code
is the cause's when it was a WayfinderException: adoption-conflict
for a plan with conflicts, adoption-invalid for one another
adoption's Profile cache planned, adoption-stale or resolution-stale
for one whose inputs changed, resolution-busy while a get or another
adoption holds the project, cancelled, and adoption-failed for any
other error.
- Inheritance
-
- Object
- WayfinderException
- KnowledgeAdoptionException
Constructors
-
KnowledgeAdoptionException(String code, String message, {required List<
AdoptionStepReport> steps, Object? cause, List<String> changedPaths = const []})
Properties
- cause → Object?
-
The error the failed step raised.
final
-
changedPaths
→ List<
String> -
For
adoption-stale, the project-relative paths that changed since planning, in path order, the request'shostInputsincluded; empty otherwise.final - code → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
steps
→ List<
AdoptionStepReport> -
Each step's report, in step order, ending with the one that failed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited