Skip to content

Commit 116600c

Browse files
committed
Make UnsupportedInputException a normal (non-case) class.
There seems to be no reason for it to be a case class.
1 parent ccd71b6 commit 116600c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js-envs/src/main/scala/org/scalajs/jsenv/Input.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ object Input {
3030
final case class ScriptsToLoad(scripts: List[VirtualBinaryFile]) extends Input
3131
}
3232

33-
case class UnsupportedInputException(msg: String, cause: Throwable)
33+
class UnsupportedInputException(msg: String, cause: Throwable)
3434
extends IllegalArgumentException(msg, cause) {
3535
def this(msg: String) = this(msg, null)
3636
def this(input: Input) = this(s"Unsupported input: $input")

0 commit comments

Comments
 (0)