discontinuedPackage fluttersdk_artisan has been discontinued and replaced by dowel.

ManifestValidationException class

Raised when an install.yaml manifest fails schema or semantic validation.

Extends InstallException so it can be caught as part of the broader installer exception family.

Usage

throw ManifestValidationException(
  'Missing required key: name.',
  offendingOp: 'validate_manifest',
);
Inheritance

Constructors

ManifestValidationException(String message, {Object? offendingOp})
Creates a ManifestValidationException with a message describing the validation failure and an optional offendingOp reference.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable description of the failure.
finalinherited
offendingOp → Object?
The install operation that caused this exception, or null when the failure is not tied to a specific operation.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited