handleProjectException static method
Handles project command exceptions.
Parameters:
exception: ProjectCommandException to handleisExit: Whether to exit the process (default: true)
Implementation
static void handleProjectException(
ProjectCommandException exception, {
bool isExit = true,
}) {
StatusHelper.failed(
exception.message,
suggestion: exception.suggestion,
examples: exception.examples,
isExit: isExit,
);
}