ProjectCommandException constructor

const ProjectCommandException(
  1. ProjectCommandError type,
  2. String message, {
  3. String? suggestion,
  4. List<String>? examples,
})

Creates a new ProjectCommandException.

Parameters:

  • type: The error category
  • message: Primary error description
  • suggestion: Optional resolution guidance
  • examples: Optional example commands

Implementation

const ProjectCommandException(
  this.type,
  this.message, {
  this.suggestion,
  this.examples,
});