summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
diff options
context:
space:
mode:
authorAlbert Chen2018-11-26 09:47:28 -0800
committerSchuyler Eldridge2018-11-26 12:47:28 -0500
commitab951049c2c60402e2318ba863520d4a16c8288d (patch)
tree496a62cb509f06711a01795bca7eafc8ae260a8b /chiselFrontend/src/main/scala/chisel3/core/Attach.scala
parentdd82374f79005a2998b016712f0aec07775eb506 (diff)
Trim Stack Trace (#931)
- Trim stack trace to show better, reduced information to the user - Add --full-stacktrace to FIRRTL option to show full stack trace
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Attach.scala')
-rw-r--r--chiselFrontend/src/main/scala/chisel3/core/Attach.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Attach.scala b/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
index edc0a7c9..b3096fd5 100644
--- a/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
+++ b/chiselFrontend/src/main/scala/chisel3/core/Attach.scala
@@ -9,7 +9,7 @@ import chisel3.internal.sourceinfo.{SourceInfo}
object attach { // scalastyle:ignore object.name
// Exceptions that can be generated by attach
- case class AttachException(message: String) extends Exception(message)
+ case class AttachException(message: String) extends ChiselException(message)
def ConditionalAttachException =
AttachException(": Conditional attach is not allowed!")