ProjectCommandException class

Enhanced error reporting with context and suggestions.

Provides detailed error information including resolution steps and example commands to fix common issues.

Implemented types

Constructors

ProjectCommandException(ProjectCommandError type, String message, {String? suggestion, List<String>? examples})
Creates a new ProjectCommandException.
const

Properties

examples → List<String>?
Optional list of example commands to fix the issue
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Primary error message
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suggestion → String?
Optional suggestion for resolving the error
final
type → ProjectCommandError
The category of error that occurred
final

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