Imports:
import syntax.exception._
Operator | What it's for | Example |
---|---|---|
=!= | Compares an Exception thrown by class and message | flakey =!=[RuntimeException](_ =?= "Boom!" | "expected Boom!") |
Also compares an Exception by class and message | ex =!=[RuntimeException](_ =?= "Boom!" | "expected Boom!") |