Skip to content

Commit

Permalink
Make stack traces optional
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Sep 20, 2024
1 parent 82681ac commit 6f07077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/digression.FqcnError.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ object FqcnError:
case Reason.EmptyName => m"a package name cannot be empty"
case Reason.JavaKeyword(keyword) => m"a package name cannot be the Java keyword, $keyword"

case class FqcnError(name: Text, reason: FqcnError.Reason)
case class FqcnError(name: Text, reason: FqcnError.Reason)(using Diagnostics)
extends Error(m"the class name $name is not valid because $reason")

0 comments on commit 6f07077

Please sign in to comment.