Skip to content

Commit

Permalink
Renamed exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaychandran committed Nov 5, 2024
1 parent 3658abb commit 50f87b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/init/src/mill/init/InitMavenModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ trait InitMavenModule extends TaskModule {

T.log.info("init completed, run \"mill resolve _\" to list available tasks")
} else {
throw InitException(s"$mainClass exit($exit)")
throw InitMavenException(s"$mainClass exit($exit)")
}
}
}

@mill.api.experimental
case class InitException(message: String) extends Exception(message) with NoStackTrace
case class InitMavenException(message: String) extends Exception(message) with NoStackTrace

0 comments on commit 50f87b9

Please sign in to comment.