Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement error method with an additinal erro message and cause
Without this implementation, the reporter discard the error information of the `cause` like [CorruptedClassPath](https://github.com/scalameta/scalafmt/blob/dee798a99e16dcf32fea37cdc05d694b76647ada/scalafmt-dynamic/src/main/scala/org/scalafmt/dynamic/ScalafmtDynamic.scala#L96) scalameta/scalafmt#1628
- Loading branch information